From: Liu Bo Date: Tue, 17 Mar 2015 06:34:16 +0000 (+0800) Subject: Btrfs: Remove the check for old-style mkfs X-Git-Tag: omap-for-v4.1/fixes-rc1~43^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e56a951e01bf55f49533c47ad2ce61dbd613a3f3;p=pandora-kernel.git 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 Reviewed-by: Omar Sandoval Reviewed-by: David Sterba Signed-off-by: Chris Mason --- Reading git-diff-tree failed