Btrfs: allow superblock mismatch from older mkfs
authorChris Mason <chris.mason@fusionio.com>
Tue, 7 May 2013 15:00:13 +0000 (11:00 -0400)
committerChris Mason <chris.mason@fusionio.com>
Tue, 7 May 2013 15:00:13 +0000 (11:00 -0400)
commit667e7d94a1683661cff5fe9a0fa0d7f8fdd2c007
treecfb87693ac910d328ab82b4723c43ebd2433f9b9
parent1104a8855109a4051d74977f819a13b4516aa11e
Btrfs: allow superblock mismatch from older mkfs

We've added new checks to make sure the super block crc is correct
during mount.  A fresh filesystem from an older mkfs won't have the
crc set.  This adds a warning when it finds a newly created filesystem
but doesn't fail the mount.

Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/disk-io.c