[PATCH 1/6] xfs: fix a couple error sequence jumps in xfs_mountfs()

Dave Chinner david at fromorbit.com
Wed Jun 25 23:10:03 CDT 2014


On Fri, Jun 06, 2014 at 09:13:29AM -0400, Brian Foster wrote:
> xfs_mountfs() has a couple failure conditions that do not jump to the
> correct labels. Specifically:
> 
> - xfs_initialize_perag_data() failure does not deallocate the log even
>   though it occurs after log initialization
> - xfs_mount_reset_sbqflags() failure returns the error directly rather
>   than jump to the error sequence
> 
> Signed-off-by: Brian Foster <bfoster at redhat.com>

Looks good.

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

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list