btrfs: rename btrfs_put_fs_root and btrfs_grab_fs_root
We are now using these for all roots, rename them to btrfs_put_root() and btrfs_grab_root(); 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>
This commit is contained in:

committed by
David Sterba

parent
bd647ce385
commit
0024652895
@@ -577,7 +577,7 @@ static int resolve_indirect_ref(struct btrfs_fs_info *fs_info,
|
||||
ret = add_all_parents(root, path, parents, ref, level, time_seq,
|
||||
extent_item_pos, total_refs, ignore_offset);
|
||||
out:
|
||||
btrfs_put_fs_root(root);
|
||||
btrfs_put_root(root);
|
||||
out_free:
|
||||
path->lowest_level = 0;
|
||||
btrfs_release_path(path);
|
||||
|
Reference in New Issue
Block a user