]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit349a924c396c089ad0457536cb7ca06884fdad12
treecfb87693ac910d328ab82b4723c43ebd2433f9b9
parent7b32505a23dc02fe641df9c62f99d0283950a363
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