diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_file.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c index 54c564693d93..e1fcef2eb928 100644 --- a/fs/xfs/linux-2.6/xfs_file.c +++ b/fs/xfs/linux-2.6/xfs_file.c | |||
@@ -356,13 +356,13 @@ xfs_file_readdir( | |||
356 | 356 | ||
357 | reclen = sizeof(struct hack_dirent) + de->namlen; | 357 | reclen = sizeof(struct hack_dirent) + de->namlen; |
358 | size -= reclen; | 358 | size -= reclen; |
359 | curr_offset = de->offset /* & 0x7fffffff */; | ||
360 | de = (struct hack_dirent *)((char *)de + reclen); | 359 | de = (struct hack_dirent *)((char *)de + reclen); |
360 | curr_offset = de->offset /* & 0x7fffffff */; | ||
361 | } | 361 | } |
362 | } | 362 | } |
363 | 363 | ||
364 | done: | 364 | done: |
365 | if (!error) { | 365 | if (!error) { |
366 | if (size == 0) | 366 | if (size == 0) |
367 | filp->f_pos = offset & 0x7fffffff; | 367 | filp->f_pos = offset & 0x7fffffff; |
368 | else if (de) | 368 | else if (de) |