Btrfs: add a radix back bit tree
[linux-2.6-block.git] / fs / btrfs / disk-io.c
index e32ddff55b0ebb25d5cfddf05eaf57a532a633bb..758a62aba063d3f00102e88c8f674140b6ac5b66 100644 (file)
@@ -104,7 +104,8 @@ struct btrfs_root *open_ctree(struct super_block *sb,
        /* FIXME: don't be stupid */
        if (!btrfs_super_root(disk_super))
                return NULL;
-       INIT_RADIX_TREE(&fs_info->pinned_radix, GFP_KERNEL);
+       init_bit_radix(&fs_info->pinned_radix);
+       init_bit_radix(&fs_info->pending_del_radix);
        fs_info->running_transaction = NULL;
        fs_info->fs_root = root;
        fs_info->tree_root = tree_root;