[PATCH 41/48] xfs_mdrestore: recalculate sb CRC before writing

Ben Myers bpm at sgi.com
Mon Aug 5 15:48:28 CDT 2013


On Fri, Jun 07, 2013 at 10:26:04AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> xfs_mdrestore writes the superblock after modifying it, and so the
> CRC is not necessarily correct. make sure the CRC is correct
> before we write the superblock back.
> 
> Signed-off-by: Dave Chinner <dchinner at redhat.com>

Reviewed-by: Ben Myers <bpm at sgi.com



More information about the xfs mailing list