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, 14 Feb 2022 15:36:01 +0000 (16:36 +0100)
commit94b18a760778143d608f9e058b5bcafac5c8d668
treedd535cbca2f131f9f39591a7744d2c3f327921c3
parentca1fd40c95033beaef03960ec8688a77a52e4c38
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