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
..
2010-05-19 09:58:08 -05:00
2010-05-19 09:58:08 -05:00
2009-12-14 23:08:16 -06:00
2010-03-01 16:34:18 -06:00
2010-01-20 10:47:48 +11:00
2010-04-29 16:22:13 -05:00
2010-01-15 15:33:12 -06:00
2010-01-21 13:44:49 -06:00
2009-12-14 23:08:16 -06:00
2010-01-21 13:44:36 -06:00
2010-01-20 10:47:48 +11:00
2010-01-21 13:44:36 -06:00
2010-01-20 10:47:48 +11:00
2010-01-15 15:31:38 -06:00
2010-01-15 15:31:38 -06:00
2010-05-19 09:58:08 -05: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-08-31 14:46:20 -05:00
2010-05-19 09:58:08 -05:00
2009-12-14 23:08:16 -06:00
2010-01-20 10:47:17 +11:00
2010-01-20 10:47:17 +11:00
2010-04-26 12:38:51 -05:00
2010-01-15 15:31:23 -06:00
2010-01-20 10:48:05 +11:00
2010-01-20 10:48:05 +11:00
2010-01-15 15:31:38 -06:00
2010-01-15 15:31:38 -06:00
2010-01-20 10:48:05 +11:00
2010-01-20 10:48:05 +11:00
2010-01-20 10:47:25 +11:00
2010-05-19 09:58:08 -05:00
2010-01-15 15:34:22 -06:00
2010-01-15 15:34:22 -06:00
2010-03-05 11:02:07 -06:00
2010-01-15 15:33:52 -06:00
2010-01-21 13:44:36 -06:00
2009-09-01 12:45:39 -05:00
2010-03-01 19:14:36 -06:00
2010-05-19 09:58:08 -05:00
2010-02-02 10:13:42 +11:00
2010-05-19 09:58:08 -05: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-03-05 11:02:07 -06:00
2009-08-31 14:46:20 -05:00
2010-01-15 15:31:38 -06:00
2010-01-21 13:44:49 -06:00
2010-01-15 15:31:51 -06:00
2010-05-19 09:58:07 -05:00
2010-05-19 09:58:07 -05:00
2010-03-05 11:01:59 -06:00
2010-04-29 16:22:13 -05:00
2010-01-15 15:34:22 -06:00
2010-01-15 15:34:22 -06:00
2010-02-04 09:48:58 +11:00
2009-12-14 23:08:16 -06:00
2010-01-15 13:46:19 -06:00
2010-02-12 13:43:57 -06:00
2010-02-12 13:43:57 -06:00
2010-02-02 10:13:42 +11:00
2010-05-19 09:58:08 -05:00
2009-09-01 12:46:16 -05:00
2010-05-19 09:58:08 -05:00
2010-05-19 09:58:08 -05:00
2010-01-20 10:44:58 +11:00
2010-03-01 16:34:38 -06:00
2010-03-01 16:35:44 -06:00
2009-12-14 23:08:16 -06:00