[XFS] Fix extent list corruption in xfs_iext_irec_compact_full().
authorLachlan McIlroy <lachlan@sgi.com>
Fri, 26 Sep 2008 02:16:46 +0000 (12:16 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 26 Sep 2008 02:16:46 +0000 (12:16 +1000)
commitf1ccd2955157e1aff992f6aaaba0944209076220
tree224a32be1bd5cd508d0b85bc446783ea939b7ad3
parent6ef190cc92e33565accff6a320f0e7d90480bfe7
[XFS] Fix extent list corruption in xfs_iext_irec_compact_full().

If we don't move all the records from the next buffer into the current
buffer then we need to update the er_extoff field of the next buffer as we
shift the remaining records to the start of the buffer.

SGI-PV: 987159

SGI-Modid: xfs-linux-melb:xfs-kern:32165a

Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Russell Cattelan <cattelan@thebarn.com>
fs/xfs/xfs_inode.c