]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: don't use extent_root in iterate_extent_inodes
authorJosef Bacik <josef@toxicpanda.com>
Fri, 5 Nov 2021 20:45:42 +0000 (16:45 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:48 +0000 (15:09 +0100)
commit13ace0b3816a6e7cd592cf6eb00312983be52a57
tree77030b2487931c34db1ba8b57324034823c86f08
parent9396e53ac66b7f50219328f622598aea2586a22d
btrfs: don't use extent_root in iterate_extent_inodes

We are going to have many extent_roots soon, and we don't need a root
here necessarily as we're not modifying anything, we're just getting the
trans handle so we can have an accurate view of references, so use the
tree_root here.

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