btrfs: make remove_extent_backref pass the root
authorJosef Bacik <josef@toxicpanda.com>
Fri, 5 Nov 2021 20:45:37 +0000 (16:45 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:48 +0000 (15:09 +0100)
commit76d76e789d1f251f66d3bc3bd53e582ca0625622
tree2806e1ea00cf39af852dd7dba9d3394b43b35be5
parentdfe8aec4520bff8e69c8704421ef7f47c65ca778
btrfs: make remove_extent_backref pass the root

With extent tree v2 we'll have a different extent root based on where
the bytenr is located, so adjust the remove_extent_backref() helper and
it's helpers to pass the extent_root around.

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