From: Christoph Hellwig Date: Wed, 11 May 2011 15:04:05 +0000 (+0000) Subject: xfs: correctly decrement the extent buffer index in xfs_bmap_del_extent X-Git-Tag: v3.0-rc1~139^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=233eebb9a96f956c541c0c9094fd321894bd93a7;hp=87bef1812d337beadfb1099e7361fd41264eb88e xfs: correctly decrement the extent buffer index in xfs_bmap_del_extent The code in xfs_bmap_del_extent does not correctly decrement the extent buffer index when deleting a whole extent. Most of the time this gets caught by checks in xfs_bmapi that work around it and decrement it manually and thus wasn't noticed so far. 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