Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124956
b: refs/heads/master
c: d415867
h: refs/heads/master
v: v3
  • Loading branch information
Lachlan McIlroy committed Dec 22, 2008
1 parent 415a35f commit e92060f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27a0464a6cb837d3a90b6e69365dfc01cb0dff2f
refs/heads/master: d415867e0abc35e3b2f0d4196e98c339d6fe29a2
2 changes: 1 addition & 1 deletion trunk/fs/xfs/linux-2.6/xfs_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ xfs_file_readdir(
* point we can change the ->readdir prototype to include the
* buffer size.
*/
bufsize = (size_t)min_t(loff_t, PAGE_SIZE, inode->i_size);
bufsize = (size_t)min_t(loff_t, PAGE_SIZE, ip->i_d.di_size);

error = xfs_readdir(ip, dirent, bufsize,
(xfs_off_t *)&filp->f_pos, filldir);
Expand Down

0 comments on commit e92060f

Please sign in to comment.