Re: [PATCH 04/43] btrfs: export and use btrfs_read_tree_root

Nikolay Borisov
2020-01-22T09:15:39Z

On 17.01.20 г. 23:25 ч., Josef Bacik wrote:
> log-tree 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.
>
> Signed-off-by: Josef Bacik <josef@toxicpanda.com>

I think the 2nd sentence of the changelog doesn't give much here. The
important bit is that btrfs_read_fs_root is a simple wrapper over
btrfs_read_tree_root. In any case:

Reviewed-by: Nikolay Borisov <nborisov@suse.com>