diff options
author | Lachlan McIlroy <lachlan@sgi.com> | 2008-06-23 13:25:02 +1000 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 16:58:56 +1000 |
commit | 6278debdf95b100a516b803f90d6f11b41c34171 (patch) | |
tree | ea4021d53cf15a295bee5b83a31134ba2e6a8cb7 /.gitignore | |
parent | 7f871d5d1b9b126c1a0cece737a37c6980c988e3 (diff) |
[XFS] fix extent corruption in xfs_iext_irec_compact_full()
This function is used to compact the indirect extent list by moving
extents from one page to the previous to fill them up. After we move some
extents to an earlier page we need to shuffle the remaining extents to the
start of the page. The actual bug here is the second argument to memmove()
needs to index past the extents, that were copied to the previous page,
and move the remaining extents. For pages that are already full (ie
ext_avail == 0) the compaction code has no net effect so don't do it.
SGI-PV: 983337
SGI-Modid: xfs-linux-melb:xfs-kern:31332a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions