From e56a951e01bf55f49533c47ad2ce61dbd613a3f3 Mon Sep 17 00:00:00 2001 From: Liu Bo Date: Tue, 17 Mar 2015 14:34:16 +0800 Subject: [PATCH] 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-format-patch failed