From 02a9b6cbef22826cfa8befcc48fdba335dac70a5 Mon Sep 17 00:00:00 2001 From: Omar Sandoval Date: Fri, 9 Sep 2016 17:02:14 -0700 Subject: [PATCH] Revert "btrfs-progs: fix compat_ro mask for free space tree" 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 Signed-off-by: David Sterba --- ctree.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ctree.h b/ctree.h index 1d153ec5..297a98c5 100644 --- 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 | \