diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index f6f7821d43a5..535bd0fe1a71 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -1410,10 +1410,9 @@ struct btrfs_root *open_ctree(struct super_block *sb, | |||
1410 | 1410 | ||
1411 | BTRFS_I(fs_info->btree_inode)->io_tree.ops = &btree_extent_io_ops; | 1411 | BTRFS_I(fs_info->btree_inode)->io_tree.ops = &btree_extent_io_ops; |
1412 | 1412 | ||
1413 | extent_io_tree_init(&fs_info->free_space_cache, | 1413 | spin_lock_init(&fs_info->block_group_cache_lock); |
1414 | fs_info->btree_inode->i_mapping, GFP_NOFS); | 1414 | fs_info->block_group_cache_tree.rb_node = NULL; |
1415 | extent_io_tree_init(&fs_info->block_group_cache, | 1415 | |
1416 | fs_info->btree_inode->i_mapping, GFP_NOFS); | ||
1417 | extent_io_tree_init(&fs_info->pinned_extents, | 1416 | extent_io_tree_init(&fs_info->pinned_extents, |
1418 | fs_info->btree_inode->i_mapping, GFP_NOFS); | 1417 | fs_info->btree_inode->i_mapping, GFP_NOFS); |
1419 | extent_io_tree_init(&fs_info->pending_del, | 1418 | extent_io_tree_init(&fs_info->pending_del, |