diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-01-24 15:32:21 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 17:01:25 +0100 |
commit | 62a2c73ebda3b0163832610c0e91f350a22908bd (patch) | |
tree | c2145a3346cda6bfc0cce9a9fa7b3f94ff5083fc /fs/btrfs/relocation.c | |
parent | btrfs: make btrfs_find_orphan_roots use btrfs_get_fs_root (diff) | |
download | linux-62a2c73ebda3b0163832610c0e91f350a22908bd.tar.xz linux-62a2c73ebda3b0163832610c0e91f350a22908bd.zip |
btrfs: export and use btrfs_read_tree_root for tree-log
Tree-log uses btrfs_read_fs_root to load its log, but this just calls
btrfs_read_tree_root. We don't save the log roots in our root cache, so
just export this helper and use it in the logging code.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions