]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Btrfs: Remove the check for old-style mkfs
authorLiu Bo <bo.li.liu@oracle.com>
Tue, 17 Mar 2015 06:34:16 +0000 (14:34 +0800)
committerChris Mason <clm@fb.com>
Fri, 27 Mar 2015 01:10:25 +0000 (18:10 -0700)
commite56a951e01bf55f49533c47ad2ce61dbd613a3f3
treea56ee1aa118e9e8a3ef8018316cf6923ed52c83b
parent727b9784b6085c99c2f836bf4fcc2848dc9cf904
Btrfs: Remove the check for old-style mkfs

This was used to make sure that a fresh btrfs from an older mkfs.btrfs,
but it also allows us to mount a buggy btrfs if this btrfs has the right
superblock head part but has something wrong with chunk tree part[1], and
after that we can hit BUG_ON()s set in the code to prevent something
impossible.

Since David has released "Btrfs progs v3.19-rc2", just remove the check,
if anyone who wants to make a fresh btrfs, please use the latest one.

[1]: http://www.spinics.net/lists/linux-btrfs/msg42358.html

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Omar Sandoval <osandov@osandov.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/disk-io.c