diff options
author | Josef Bacik <josef@toxicpanda.com> | 2020-01-24 09:32:22 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-03-23 17:01:25 +0100 |
commit | 3dbf1738a1d3429248a01bcb46ce5cec0eae24f7 (patch) | |
tree | cd742f35332689686604df7a6726c10987b598c0 /fs/btrfs/disk-io.h | |
parent | 62a2c73ebda3b0163832610c0e91f350a22908bd (diff) | |
download | linux-3dbf1738a1d3429248a01bcb46ce5cec0eae24f7.tar.gz |
btrfs: make relocation use btrfs_read_tree_root()
Relocation has it's special roots, we don't want to save these in the
root cache either, so swap it to use btrfs_read_tree_root(). However
the reloc root does need REF_COWS set, so make sure we set it everywhere
we use this helper, as it no longer does the REF_COWS setting.
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/disk-io.h')
0 files changed, 0 insertions, 0 deletions