[PATCH 3/4] xfs: refactor xlog_recover_commit_trans
Christoph Hellwig
hch at infradead.org
Mon Dec 20 05:28:52 CST 2010
On Thu, Dec 16, 2010 at 03:18:15PM -0600, Alex Elder wrote:
> On Wed, 2010-12-01 at 17:06 -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>
> >
>
> I'm making a small change to this one patch though...
> > + case XFS_LI_BUF:
> > + return xlog_recover_do_buffer_trans(log, item, pass);
> > + break;
>
> I have deleted this "break" statement.
Yeah, this is a leftover from an earlier variant. Thanks for spotting
it.
More information about the xfs
mailing list