[PATCH] xfs: xfs_sb_read_verify() doesn't flag bad crcs on primary sb

Mark Tinguely tinguely at sgi.com
Tue Feb 11 17:24:14 CST 2014


On 02/11/14 16:46, Eric Sandeen wrote:
> My earlier commit 10e6e65 deserves a layer or two of brown paper
> bags.  The logic in that commit means that a CRC failure on the
> primary superblock will *never* result in an error return.
>
> Hopefully this fixes it, so that we always return the error
> if it's a primary superblock, otherwise only if the filesystem
> has CRCs enabled.
>
> Signed-off-by: Eric Sandeen<sandeen at redhat.com>
> ---


Augh, blame the reviewer who is always sdrawkcab:)

Reviewed-by: Mark Tinguely <tinguely at sgi.com>



More information about the xfs mailing list