Christoph Hellwig 2f2b3220b0 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>
2011-05-25 10:48:37 -05:00
..
2011-05-24 11:17:13 -05:00
2011-03-07 10:09:35 +11:00
2010-10-18 15:08:07 -05:00
2011-03-31 11:26:23 -03:00
2010-10-18 15:08:07 -05:00
2011-03-07 10:09:35 +11:00
2011-05-25 10:48:37 -05:00
2011-05-25 10:48:37 -05:00
2010-12-16 16:05:51 -06:00
2011-05-24 11:17:13 -05:00
2011-04-28 13:18:04 -05:00
2011-04-28 13:18:04 -05:00
2011-05-24 11:17:13 -05:00
2011-03-31 11:26:23 -03:00
2011-05-24 11:17:13 -05:00
2011-04-28 13:18:04 -05:00
2010-10-18 15:08:06 -05:00
2010-10-18 15:08:06 -05:00
2011-03-31 11:26:23 -03:00