diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-05-11 15:04:07 (GMT) |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-05-25 15:48:37 (GMT) |
commit | 5690f92199956c0f2a2d9f718b5031e1300a1de1 (patch) | |
tree | 66ae28ac9f0fe4deae3452f81f244ae162a25fcb /fs/xfs/xfs_alloc.h | |
parent | 2f2b3220b0566692da14e06ea5fc0d697a78dc7c (diff) | |
download | linux-fsl-qoriq-5690f92199956c0f2a2d9f718b5031e1300a1de1.tar.xz |
xfs: do not use unchecked extent indices in xfs_bmapi
Make sure to only call xfs_iext_get_ext after we've validate the
extent index when moving on to the next index in xfs_bmapi.
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 'fs/xfs/xfs_alloc.h')
0 files changed, 0 insertions, 0 deletions