linux/fs/xfs/linux-2.6
Lachlan McIlroy 041388b54e [XFS] Put the correct offset in dirent d_off
The recent filldir regression fix was not putting the correct d_off in
each dirent. This was resulting in incorrect cookies being passed to dmapi
ioctls and the wrong offset appearing in the dirents. readdir was
unaffected as the filp->f_pos was being updated with the correct offset
and this was being written into the last dirent in each buffer. Fix the
XFS code to do the right thing.

SGI-PV: 973746
SGI-Modid: xfs-linux-melb:xfs-kern:30240a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2007-12-18 17:16:23 +11:00
..
kmem.c
kmem.h Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
mrlock.h
mutex.h
sema.h
spin.h
sv.h
time.h
xfs_aops.c Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 2007-10-17 09:04:11 -07:00
xfs_aops.h [XFS] move v_iocount from bhv_vnode to xfs_inode 2007-10-16 11:38:56 +10:00
xfs_buf.c [XFS] Make xfsbufd threads freezable 2007-12-10 13:47:36 +11:00
xfs_buf.h
xfs_cred.h
xfs_dmapi_priv.h
xfs_export.c exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
xfs_export.h xfs: new export ops 2007-10-22 08:13:20 -07:00
xfs_file.c [XFS] Put the correct offset in dirent d_off 2007-12-18 17:16:23 +11:00
xfs_fs_subr.c [XFS] kill the v_flag member in struct bhv_vnode 2007-10-16 11:37:29 +10:00
xfs_fs_subr.h [XFS] decontaminate vnode operations from behavior details 2007-10-15 16:54:29 +10:00
xfs_globals.c [XFS] Remove xfs_physmem 2007-10-15 16:40:14 +10:00
xfs_globals.h [XFS] Remove xfs_physmem 2007-10-15 16:40:14 +10:00
xfs_ioctl.c [XFS] 971064 Various fixups for xfs_bulkstat(). 2007-12-10 13:44:11 +11:00
xfs_ioctl32.c [XFS] 971064 Various fixups for xfs_bulkstat(). 2007-12-10 13:44:11 +11:00
xfs_ioctl32.h
xfs_iops.c [XFS] Fix xfs_ichgtime()s broken usage of I_SYNC 2007-12-10 13:47:56 +11:00
xfs_iops.h [XFS] call common xfs vnode-level helpers directly and remove vnode operations 2007-10-16 10:40:00 +10:00
xfs_linux.h [XFS] call common xfs vfs-level helpers directly and remove vfs operations 2007-10-16 11:44:08 +10:00
xfs_lrw.c Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 2007-10-17 09:04:11 -07:00
xfs_lrw.h [XFS] call common xfs vfs-level helpers directly and remove vfs operations 2007-10-16 11:44:08 +10:00
xfs_stats.c
xfs_stats.h
xfs_super.c Merge branch 'for-linus' of git://oss.sgi.com:8090/xfs/xfs-2.6 2007-10-17 09:04:11 -07:00
xfs_super.h exportfs: make struct export_operations const 2007-10-22 08:13:21 -07:00
xfs_sysctl.c
xfs_sysctl.h
xfs_version.h
xfs_vfs.h [XFS] kill struct bhv_vfs 2007-10-16 12:17:27 +10:00
xfs_vnode.c [XFS] call common xfs vfs-level helpers directly and remove vfs operations 2007-10-16 11:44:08 +10:00
xfs_vnode.h [XFS] kill struct bhv_vfs 2007-10-16 12:17:27 +10:00