xfs: refactor xlog_recover_commit_trans
authorChristoph Hellwig <hch@infradead.org>
Wed, 1 Dec 2010 22:06:23 +0000 (22:06 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 16 Dec 2010 22:05:26 +0000 (16:05 -0600)
commitd0450948641b2090b5d467ba638bbebd40b20b21
treec91ea11d5c6e95901ba5c87e02abf44c8fd2a225
parentd5689eaa0ac5588cf459ee32f86d5700dd7d6403
xfs: refactor xlog_recover_commit_trans

Merge the call to xlog_recover_reorder_trans and the loop over the
recovery items from xlog_recover_do_trans into xlog_recover_commit_trans,
and keep the switch statement over the log item types as a separate helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_log_recover.c