Revert "btrfs-progs: fix compat_ro mask for free space tree"
authorOmar Sandoval <osandov@fb.com>
Sat, 10 Sep 2016 00:02:14 +0000 (17:02 -0700)
committerDavid Sterba <dsterba@suse.com>
Wed, 21 Sep 2016 09:50:09 +0000 (11:50 +0200)
btrfs-progs can't mount space_cache=v2 filesystems read-write, which is
why the compat bit wasn't added to the supported mask in the first
place. Remove it.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
ctree.h

diff --git a/ctree.h b/ctree.h
index 1d153ec..297a98c 100644 (file)
--- a/ctree.h
+++ b/ctree.h
@@ -490,8 +490,7 @@ struct btrfs_super_block {
 
 #define BTRFS_FEATURE_COMPAT_SUPP              0ULL
 
-#define BTRFS_FEATURE_COMPAT_RO_SUPP                   \
-       (BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE)
+#define BTRFS_FEATURE_COMPAT_RO_SUPP           0ULL
 
 #define BTRFS_FEATURE_INCOMPAT_SUPP                    \
        (BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF |         \