]> 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)
commit963a62dc89cfa7edc2a80bc2929fb2d7a6ab4471
tree77030b2487931c34db1ba8b57324034823c86f08
parent14ebd5d8c080bc3c5cf4fb9b836f1ec1faba3120
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