btrfs: disable space cache related mount options for extent tree v2
authorJosef Bacik <josef@toxicpanda.com>
Wed, 15 Dec 2021 20:40:04 +0000 (15:40 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 Feb 2022 15:19:49 +0000 (16:19 +0100)
commit4877f3ed359a8dff29583c1f8f7cec180e86fb29
tree81d51f01418ab5a2caeeb7bb1f5d5aff134c0462
parente5af103c59753fac1f47f515edfedec32ac73aba
btrfs: disable space cache related mount options for extent tree v2

We cannot fall back on the slow caching for extent tree v2, which means
we can't just arbitrarily clear the free space trees at mount time.
Furthermore we can't do v1 space cache with extent tree v2.  Simply
ignore these mount options for extent tree v2 as they aren't relevant.

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