From: Christoph Hellwig Date: Mon, 15 Mar 2010 01:52:49 +0000 (+1100) Subject: xfs: clean up xfs_trans_commit logic even more X-Git-Tag: v2.6.35-rc1~468^2^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3ccd2ca43d5cdfe0b256be02957dc5f47ec4c39;p=pandora-kernel.git 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 Reviewed-by: Dave Chinner --- Reading git-diff-tree failed