]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: pass the root to add_keyed_refs
authorJosef Bacik <josef@toxicpanda.com>
Fri, 5 Nov 2021 20:45:31 +0000 (16:45 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:47 +0000 (15:09 +0100)
commitb52d7ddc222336960e9971e56f928fd37b6af5ec
treebe3cc47daa836a192e99fd3ede56980c000312b3
parentd40bbbb2b3586421a42c965a017209f3b1c52e93
btrfs: pass the root to add_keyed_refs

We pass in the path, but use btrfs_next_item() using the root we
searched with.  Pass the root down to add_keyed_refs() instead of the
fs_info so we can continue to use the same root we searched with.

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/backref.c