From: Christoph Hellwig Date: Wed, 11 May 2011 15:04:06 +0000 (+0000) Subject: xfs: do not use unchecked extent indices in xfs_bmap_add_extent_* X-Git-Tag: v3.0-rc1~139^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2b3220b0566692da14e06ea5fc0d697a78dc7c;p=pandora-kernel.git 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 Reviewed-by: Lachlan McIlroy Signed-off-by: Alex Elder --- Reading git-diff-tree failed