There's no known taint on a filesystem that was RAID5/6 once but has been
since converted to something non-experimental.
Signed-off-by: Adam Borowski <kilobyte@xxxxxxxxxx>
---
fs/btrfs/disk-io.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index a4c3e6628ec1..c720a7bc1b15 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -3089,6 +3089,8 @@ int open_ctree(struct super_block *sb,
BTRFS_BLOCK_GROUP_RAID56_MASK) {
btrfs_alert(fs_info,
"btrfs RAID5/6 is EXPERIMENTAL and has known data-loss bugs");
+ } else {
+ btrfs_clear_fs_incompat(fs_info, RAID56);
}
/*
--
2.11.0
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html