diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-05-11 17:04:05 +0200 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-05-25 17:48:38 +0200 |
commit | 233eebb9a96f956c541c0c9094fd321894bd93a7 (patch) | |
tree | fb7e2d79a0d79ae69e01023c525f6f11a6a07314 /init | |
parent | xfs: check for valid indices in xfs_iext_get_ext and xfs_iext_idx_to_irec (diff) | |
download | linux-233eebb9a96f956c541c0c9094fd321894bd93a7.tar.xz linux-233eebb9a96f956c541c0c9094fd321894bd93a7.zip |
xfs: correctly decrement the extent buffer index in xfs_bmap_del_extent
The code in xfs_bmap_del_extent does not correctly decrement the
extent buffer index when deleting a whole extent. Most of the time
this gets caught by checks in xfs_bmapi that work around it and
decrement it manually and thus wasn't noticed so far.
Based on an earlier patch from Lachlan McIlroy.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Lachlan McIlroy <lmcilroy@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions