aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-10-15 16:15:19 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:56 -0400
commit96b5179d0d9b6368c203856f2ad6e8e12a8b2a2c (patch)
tree58b22f106bb06902c280c66af661d9e9d6a65597 /fs/btrfs/disk-io.c
parentf510cfecfc98759d75283823cfccf0cc0d59a4c6 (diff)
Btrfs: Stop using radix trees for the block group cache
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 09f4e694624d..aac7c82b0dce 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -436,8 +436,6 @@ struct btrfs_root *open_ctree(struct super_block *sb)
436 init_bit_radix(&fs_info->pending_del_radix); 436 init_bit_radix(&fs_info->pending_del_radix);
437 init_bit_radix(&fs_info->extent_ins_radix); 437 init_bit_radix(&fs_info->extent_ins_radix);
438 INIT_RADIX_TREE(&fs_info->fs_roots_radix, GFP_NOFS); 438 INIT_RADIX_TREE(&fs_info->fs_roots_radix, GFP_NOFS);
439 INIT_RADIX_TREE(&fs_info->block_group_radix, GFP_KERNEL);
440 INIT_RADIX_TREE(&fs_info->block_group_data_radix, GFP_KERNEL);
441 INIT_LIST_HEAD(&fs_info->trans_list); 439 INIT_LIST_HEAD(&fs_info->trans_list);
442 INIT_LIST_HEAD(&fs_info->dead_roots); 440 INIT_LIST_HEAD(&fs_info->dead_roots);
443 memset(&fs_info->super_kobj, 0, sizeof(fs_info->super_kobj)); 441 memset(&fs_info->super_kobj, 0, sizeof(fs_info->super_kobj));
@@ -458,6 +456,8 @@ struct btrfs_root *open_ctree(struct super_block *sb)
458 GFP_NOFS); 456 GFP_NOFS);
459 extent_map_tree_init(&fs_info->free_space_cache, 457 extent_map_tree_init(&fs_info->free_space_cache,
460 fs_info->btree_inode->i_mapping, GFP_NOFS); 458 fs_info->btree_inode->i_mapping, GFP_NOFS);
459 extent_map_tree_init(&fs_info->block_group_cache,
460 fs_info->btree_inode->i_mapping, GFP_NOFS);
461 fs_info->do_barriers = 1; 461 fs_info->do_barriers = 1;
462 fs_info->closing = 0; 462 fs_info->closing = 0;
463 463