xfs
[Top] [All Lists]

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

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 41/48] xfs_mdrestore: recalculate sb CRC before writing
From: Ben Myers <bpm@xxxxxxx>
Date: Mon, 5 Aug 2013 15:48:28 -0500
Cc: xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1370564771-4929-42-git-send-email-david@xxxxxxxxxxxxx>
References: <1370564771-4929-1-git-send-email-david@xxxxxxxxxxxxx> <1370564771-4929-42-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Fri, Jun 07, 2013 at 10:26:04AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>

Reviewed-by: Ben Myers <bpm@xxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH 41/48] xfs_mdrestore: recalculate sb CRC before writing, Ben Myers <=