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, 14 Feb 2022 15:36:01 +0000 (16:36 +0100)
commit6bd13b53340a37278d0e3feda88e06e66ecca3f9
tree259e15dde8b56948ab581acf34dea9a892df362e
parent21fcddb61aa6f5ec0f06ad2392d1a5f723b326d4
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