]> 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)
commit5545477e20460cb8b8556869acf7ffd5438ca816
treebe3cc47daa836a192e99fd3ede56980c000312b3
parentb64f8eebaab206f41fb4552cb60061a78ad88a7a
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