diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-03-15 02:52:49 +0100 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-05-19 16:58:08 +0200 |
commit | a3ccd2ca43d5cdfe0b256be02957dc5f47ec4c39 (patch) | |
tree | 08b6a0b911c5f1ba45ce9e61754f1db8331a0f72 /mm/page_io.c | |
parent | xfs: split out iclog writing from xfs_trans_commit() (diff) | |
download | linux-a3ccd2ca43d5cdfe0b256be02957dc5f47ec4c39.tar.xz linux-a3ccd2ca43d5cdfe0b256be02957dc5f47ec4c39.zip |
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 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions