[XFS] Check for xfs_free_extent() failing.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:21:53 +0000 (12:21 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:59:23 +0000 (11:59 +1000)
commitfc6149d8d9634814cdcd9283b8f2efd3359181df
tree601c3ad274aae19a264009a385b8eb95977ada9a
parentd87dd6360dce86cad9099aed74f14b4dd0143301
[XFS] Check for xfs_free_extent() failing.

xfs_free_extent() can fail, but log recovery never bothers to check if it
successfully free the extent it was supposed to. This could lead to silent
corruption during log recovery. Abort log recovery if we fail to free an
extent.

SGI-PV: 980084
SGI-Modid: xfs-linux-melb:xfs-kern:30801a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_log_recover.c