diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_file.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c index e1fcef2eb928..4847eb83fc18 100644 --- a/fs/xfs/linux-2.6/xfs_file.c +++ b/fs/xfs/linux-2.6/xfs_file.c | |||
@@ -347,6 +347,7 @@ xfs_file_readdir( | |||
347 | 347 | ||
348 | size = buf.used; | 348 | size = buf.used; |
349 | de = (struct hack_dirent *)buf.dirent; | 349 | de = (struct hack_dirent *)buf.dirent; |
350 | curr_offset = de->offset /* & 0x7fffffff */; | ||
350 | while (size > 0) { | 351 | while (size > 0) { |
351 | if (filldir(dirent, de->name, de->namlen, | 352 | if (filldir(dirent, de->name, de->namlen, |
352 | curr_offset & 0x7fffffff, | 353 | curr_offset & 0x7fffffff, |