xfs: update and factor xfs_trans_committed()
authorDave Chinner <dchinner@redhat.com>
Mon, 8 Mar 2010 04:06:22 +0000 (15:06 +1100)
committerAlex Elder <aelder@sgi.com>
Wed, 19 May 2010 14:58:09 +0000 (09:58 -0500)
commit8e646a55ac69fe620b9e84034c03dd1e8e16a36b
treeb1bd02109c34888cf8e75f2569fc574858d03169
parenta3ccd2ca43d5cdfe0b256be02957dc5f47ec4c39
xfs: update and factor xfs_trans_committed()

The function header to xfs-trans_committed has long had this
comment:

 * THIS SHOULD BE REWRITTEN TO USE xfs_trans_next_item()

To prepare for different methods of committing items, convert the
code to use xfs_trans_next_item() and factor the code into smaller,
more digestible chunks.

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