]> err.no Git - linux-2.6/commit
[XFS] Propagate xfs_trans_reserve() errors.
authorDavid Chinner <dgc@sgi.com>
Thu, 10 Apr 2008 02:21:11 +0000 (12:21 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 18 Apr 2008 01:58:08 +0000 (11:58 +1000)
commit3c1e2bbe5bcdcd435510a05eb121fa74b848e24f
tree1b53868f47e95afde9317964c642db0faa4b36ba
parent5ca1f261a08d5cff5f29eaa0887b59baae2ae7f7
[XFS] Propagate xfs_trans_reserve() errors.

xfs_trans_reserve() reports errors that should not be ignored. For
example, a shutdown filesystem will report errors through
xfs_trans_reserve() to prevent further changes from being attempted on a
damaged filesystem. Catch and propagate all error conditions from
xfs_trans_reserve().

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

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