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, 14 Feb 2022 15:36:01 +0000 (16:36 +0100)
commitd084b429a130fe00dface730fa4dd4f1b19d2557
tree79a6d7e2a77e9e651a37262f39cf8225da2bc3a3
parent6bd13b53340a37278d0e3feda88e06e66ecca3f9
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