diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 71838264ca6b..a9ce491d279b 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -818,6 +818,10 @@ struct btrfs_root *btrfs_read_fs_root_no_name(struct btrfs_fs_info *fs_info, | |||
818 | return fs_info->tree_root; | 818 | return fs_info->tree_root; |
819 | if (location->objectid == BTRFS_EXTENT_TREE_OBJECTID) | 819 | if (location->objectid == BTRFS_EXTENT_TREE_OBJECTID) |
820 | return fs_info->extent_root; | 820 | return fs_info->extent_root; |
821 | if (location->objectid == BTRFS_CHUNK_TREE_OBJECTID) | ||
822 | return fs_info->chunk_root; | ||
823 | if (location->objectid == BTRFS_DEV_TREE_OBJECTID) | ||
824 | return fs_info->dev_root; | ||
821 | 825 | ||
822 | root = radix_tree_lookup(&fs_info->fs_roots_radix, | 826 | root = radix_tree_lookup(&fs_info->fs_roots_radix, |
823 | (unsigned long)location->objectid); | 827 | (unsigned long)location->objectid); |