diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-03-15 12:52:49 +1100 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 09:58:08 -0500 |
commit | a3ccd2ca43d5cdfe0b256be02957dc5f47ec4c39 (patch) | |
tree | 08b6a0b911c5f1ba45ce9e61754f1db8331a0f72 /fs/pnode.h | |
parent | 0924378a689ccb05f6d60875742dc28f69bf0129 (diff) |
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>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions