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
..
2007-10-15 16:50:26 +10:00
2006-01-09 20:48:03 +01:00
2007-10-16 12:17:27 +10:00
2007-10-15 16:50:50 +10:00
2007-07-14 15:28:50 +10:00
2007-10-16 11:40:24 +10:00
2007-07-14 15:36:43 +10:00
2007-07-14 15:36:43 +10:00
2007-07-14 15:36:53 +10:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2007-10-15 16:49:49 +10:00
2007-10-19 18:02:55 +10:00
2007-10-16 12:18:09 +10:00
2007-10-16 12:17:27 +10:00
2007-10-16 12:20:54 +10:00
2007-10-16 12:20:54 +10:00
2007-10-16 12:18:09 +10:00
2007-10-16 12:18:09 +10:00
2007-10-16 12:17:27 +10:00
2007-07-14 15:28:50 +10:00
2007-10-15 16:49:49 +10:00
2007-10-19 18:02:55 +10:00
2007-10-19 18:02:55 +10:00
2007-10-19 18:02:55 +10:00
2007-10-19 18:02:55 +10:00
2007-07-14 15:40:53 +10:00