Christoph Hellwig a3ccd2ca43 xfs: clean up xfs_trans_commit logic even more
> +shut_us_down:
> +	shutdown = XFS_FORCED_SHUTDOWN(mp) ? EIO : 0;
> +	if (!(tp->t_flags & XFS_TRANS_DIRTY) || shutdown) {
> +		xfs_trans_unreserve_and_mod_sb(tp);
> +		/*

This whole area in _xfs_trans_commit is still a complete mess.

So while touching this code, unravel this mess as well to make the
whole flow of the function simpler and clearer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <david@fromorbit.com>
2010-05-19 09:58:08 -05:00
..
2009-12-14 23:08:16 -06:00
2010-03-01 16:34:18 -06:00
2009-12-14 23:08:16 -06:00
2010-01-21 13:44:36 -06:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-01-21 13:44:36 -06:00
2009-12-14 23:08:16 -06:00
2010-03-01 16:35:56 -06:00
2009-08-31 14:46:22 -05:00
2009-12-14 23:08:16 -06:00
2009-12-14 23:08:16 -06:00
2010-05-19 09:58:07 -05:00
2010-05-19 09:58:07 -05:00
2009-12-14 23:08:16 -06:00
2009-09-01 12:46:16 -05:00
2010-01-20 10:44:58 +11:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00