btrfs: disable device manipulation ioctl's EXTENT_TREE_V2
authorJosef Bacik <josef@toxicpanda.com>
Wed, 15 Dec 2021 20:40:00 +0000 (15:40 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 Feb 2022 15:19:49 +0000 (16:19 +0100)
commit3014676e61256404203bd2cc8aea581d339b0226
tree07e85f258453e877cdbae9c5030b038a7118b941
parent482df4898abc521b45e49dae69460693844c33e5
btrfs: disable device manipulation ioctl's EXTENT_TREE_V2

Device add, remove, and replace all require balance, which doesn't work
right now on extent tree v2, so disable these for now.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ioctl.c
fs/btrfs/volumes.c