aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index c72f4f3b912c..6f042de1ac43 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1097,6 +1097,8 @@ struct btrfs_root *btrfs_read_fs_root_no_name(struct btrfs_fs_info *fs_info,
1097 return fs_info->chunk_root; 1097 return fs_info->chunk_root;
1098 if (location->objectid == BTRFS_DEV_TREE_OBJECTID) 1098 if (location->objectid == BTRFS_DEV_TREE_OBJECTID)
1099 return fs_info->dev_root; 1099 return fs_info->dev_root;
1100 if (location->objectid == BTRFS_CSUM_TREE_OBJECTID)
1101 return fs_info->csum_root;
1100 1102
1101 root = radix_tree_lookup(&fs_info->fs_roots_radix, 1103 root = radix_tree_lookup(&fs_info->fs_roots_radix,
1102 (unsigned long)location->objectid); 1104 (unsigned long)location->objectid);