diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 9c1a744e595b..e5167219c266 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -2278,9 +2278,7 @@ struct btrfs_root *open_ctree(struct super_block *sb, | |||
2278 | (unsigned long)btrfs_header_chunk_tree_uuid(chunk_root->node), | 2278 | (unsigned long)btrfs_header_chunk_tree_uuid(chunk_root->node), |
2279 | BTRFS_UUID_SIZE); | 2279 | BTRFS_UUID_SIZE); |
2280 | 2280 | ||
2281 | mutex_lock(&fs_info->chunk_mutex); | ||
2282 | ret = btrfs_read_chunk_tree(chunk_root); | 2281 | ret = btrfs_read_chunk_tree(chunk_root); |
2283 | mutex_unlock(&fs_info->chunk_mutex); | ||
2284 | if (ret) { | 2282 | if (ret) { |
2285 | printk(KERN_WARNING "btrfs: failed to read chunk tree on %s\n", | 2283 | printk(KERN_WARNING "btrfs: failed to read chunk tree on %s\n", |
2286 | sb->s_id); | 2284 | sb->s_id); |