diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-05-11 15:04:06 +0000 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2011-05-25 10:48:37 -0500 |
commit | 2f2b3220b0566692da14e06ea5fc0d697a78dc7c (patch) | |
tree | 714a8ac9b2bf41f4253eb340b550023f47d5d593 /fs/xfs/xfs_buf_item.h | |
parent | ec90c5563413ba6d29607397c54958d49c3461a3 (diff) | |
download | kernel_samsung_espresso10-2f2b3220b0566692da14e06ea5fc0d697a78dc7c.zip kernel_samsung_espresso10-2f2b3220b0566692da14e06ea5fc0d697a78dc7c.tar.gz kernel_samsung_espresso10-2f2b3220b0566692da14e06ea5fc0d697a78dc7c.tar.bz2 |
xfs: do not use unchecked extent indices in xfs_bmap_add_extent_*
Make sure to only call xfs_iext_get_ext after we've validate the
extent index in the various xfs_bmap_add_extent_* helpers.
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_buf_item.h')
0 files changed, 0 insertions, 0 deletions