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.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index aac7c82b0dce..2b86a1d779b7 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -432,9 +432,6 @@ struct btrfs_root *open_ctree(struct super_block *sb)
432 err = -ENOMEM; 432 err = -ENOMEM;
433 goto fail; 433 goto fail;
434 } 434 }
435 init_bit_radix(&fs_info->pinned_radix);
436 init_bit_radix(&fs_info->pending_del_radix);
437 init_bit_radix(&fs_info->extent_ins_radix);
438 INIT_RADIX_TREE(&fs_info->fs_roots_radix, GFP_NOFS); 435 INIT_RADIX_TREE(&fs_info->fs_roots_radix, GFP_NOFS);
439 INIT_LIST_HEAD(&fs_info->trans_list); 436 INIT_LIST_HEAD(&fs_info->trans_list);
440 INIT_LIST_HEAD(&fs_info->dead_roots); 437 INIT_LIST_HEAD(&fs_info->dead_roots);
@@ -458,6 +455,12 @@ struct btrfs_root *open_ctree(struct super_block *sb)
458 fs_info->btree_inode->i_mapping, GFP_NOFS); 455 fs_info->btree_inode->i_mapping, GFP_NOFS);
459 extent_map_tree_init(&fs_info->block_group_cache, 456 extent_map_tree_init(&fs_info->block_group_cache,
460 fs_info->btree_inode->i_mapping, GFP_NOFS); 457 fs_info->btree_inode->i_mapping, GFP_NOFS);
458 extent_map_tree_init(&fs_info->pinned_extents,
459 fs_info->btree_inode->i_mapping, GFP_NOFS);
460 extent_map_tree_init(&fs_info->pending_del,
461 fs_info->btree_inode->i_mapping, GFP_NOFS);
462 extent_map_tree_init(&fs_info->extent_ins,
463 fs_info->btree_inode->i_mapping, GFP_NOFS);
461 fs_info->do_barriers = 1; 464 fs_info->do_barriers = 1;
462 fs_info->closing = 0; 465 fs_info->closing = 0;
463 466