summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@sgi.com>2008-06-23 13:25:02 +1000
committerNiv Sardi <xaiki@debian.org>2008-07-28 16:58:56 +1000
commit6278debdf95b100a516b803f90d6f11b41c34171 (patch)
treeea4021d53cf15a295bee5b83a31134ba2e6a8cb7 /drivers/usb
parent7f871d5d1b9b126c1a0cece737a37c6980c988e3 (diff)
downloadlinux-3.10-6278debdf95b100a516b803f90d6f11b41c34171.tar.gz
linux-3.10-6278debdf95b100a516b803f90d6f11b41c34171.tar.bz2
linux-3.10-6278debdf95b100a516b803f90d6f11b41c34171.zip
[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 'drivers/usb')
0 files changed, 0 insertions, 0 deletions