xfs: Clean up xfs_trans_committed code after factoring
authorDave Chinner <dchinner@redhat.com>
Mon, 22 Mar 2010 23:11:05 +0000 (10:11 +1100)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:09 +0000 (09:58 -0500)
commitb1c1b5b6108ad8e5991a614514f41da436c659d6
treefea56bd29b112eb18985c22745d99063ed19cd0e
parent8e646a55ac69fe620b9e84034c03dd1e8e16a36b
xfs: Clean up xfs_trans_committed code after factoring

Now that the code has been factored, clean up all the remaining
style cruft, simplify the code and re-order functions so that it
doesn't need forward declarations.

Also move the remaining functions that require forward declarations
(xfs_trans_uncommit, xfs_trans_free) so that all the forward
declarations can be removed from the file.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_trans.c