btrfs: open code btrfs_read_fs_root_no_name
[sfrench/cifs-2.6.git] / fs / btrfs / export.c
index 72e312cae69d9e2576c4af40e6a700447b66004b..08cd8c4a02a5d219d95027fb498da7648ca1c4e1 100644 (file)
@@ -77,7 +77,7 @@ static struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
 
        index = srcu_read_lock(&fs_info->subvol_srcu);
 
-       root = btrfs_read_fs_root_no_name(fs_info, &key);
+       root = btrfs_get_fs_root(fs_info, &key, true);
        if (IS_ERR(root)) {
                err = PTR_ERR(root);
                goto fail;