diff options
Diffstat (limited to 'fs/btrfs/root-tree.c')
-rw-r--r-- | fs/btrfs/root-tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/btrfs/root-tree.c b/fs/btrfs/root-tree.c index 36726696e58b..e3984f902e71 100644 --- a/fs/btrfs/root-tree.c +++ b/fs/btrfs/root-tree.c | |||
@@ -202,8 +202,9 @@ again: | |||
202 | memcpy(&found_key, &key, sizeof(key)); | 202 | memcpy(&found_key, &key, sizeof(key)); |
203 | key.offset++; | 203 | key.offset++; |
204 | btrfs_release_path(root, path); | 204 | btrfs_release_path(root, path); |
205 | dead_root = btrfs_read_fs_root_no_radix(root->fs_info, | 205 | dead_root = |
206 | &found_key); | 206 | btrfs_read_fs_root_no_radix(root->fs_info->tree_root, |
207 | &found_key); | ||
207 | if (IS_ERR(dead_root)) { | 208 | if (IS_ERR(dead_root)) { |
208 | ret = PTR_ERR(dead_root); | 209 | ret = PTR_ERR(dead_root); |
209 | goto err; | 210 | goto err; |