From: Christoph Hellwig Date: Wed, 11 May 2011 15:04:08 +0000 (+0000) Subject: xfs: do not use unchecked extent indices in xfs_bunmapi X-Git-Tag: v3.0-rc1~139^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00239acf36d3bba8e7c0609e6c473d6e408a2135;p=pandora-kernel.git xfs: do not use unchecked extent indices in xfs_bunmapi 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_bunmapi. Also remove the old workaround for too large indices that has been superceeded by the proper fix in xfs_bmap_del_extent. 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