btrfs: disable snapshot creation/deletion for extent tree v2
authorJosef Bacik <josef@toxicpanda.com>
Wed, 15 Dec 2021 20:40:03 +0000 (15:40 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 Feb 2022 15:19:49 +0000 (16:19 +0100)
commite5af103c59753fac1f47f515edfedec32ac73aba
treeadd394b3b19b334e90b1a67f64c283b25ec185c5
parent08d49f867d6e6f7f95f0e43a1f81fdc08ecb3ae7
btrfs: disable snapshot creation/deletion for extent tree v2

When we stop tracking metadata blocks all of snapshotting will break, so
disable it until I add the snapshot root and drop tree support.

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