[PATCH 3/4] xfs: refactor xlog_recover_commit_trans

Dave Chinner david at fromorbit.com
Wed Dec 22 19:56:33 CST 2010


On Wed, Dec 01, 2010 at 05:06:23PM -0500, Christoph Hellwig wrote:
> 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 at lst.de>

Much nicer. With the small "break" fix Alex commented on, it looks
good.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list