summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-01-24 15:33:01 +0100
committerDavid Sterba <dsterba@suse.com>2020-03-23 17:01:33 +0100
commit0024652895e3479cd0d372f63b57d9581a0bdd38 (patch)
treec008726705f1e5c9aefab8392418bb9fbec51bdd /fs/btrfs/volumes.c
parentbtrfs: add a leak check for roots (diff)
downloadlinux-0024652895e3479cd0d372f63b57d9581a0bdd38.tar.xz
linux-0024652895e3479cd0d372f63b57d9581a0bdd38.zip
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>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r--fs/btrfs/volumes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 089af576ad78..b092021e41e9 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -4443,7 +4443,7 @@ static int btrfs_check_uuid_tree_entry(struct btrfs_fs_info *fs_info,
ret = 1;
break;
}
- btrfs_put_fs_root(subvol_root);
+ btrfs_put_root(subvol_root);
out:
return ret;
}