aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-26 10:15:30 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-26 10:15:30 -0400
commit8ef97622caa2d5f78d1dc58ab918e2fbfa9b357a (patch)
tree6ae74ce8ff1ba7a6b8a522ed0ea3b37f17a6b305 /fs/btrfs/disk-io.c
parentf7922033efe957f79ae57f6026e93c8148e7f7ed (diff)
Btrfs: add a radix back bit tree
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index e32ddff55b0e..758a62aba063 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -104,7 +104,8 @@ struct btrfs_root *open_ctree(struct super_block *sb,
104 /* FIXME: don't be stupid */ 104 /* FIXME: don't be stupid */
105 if (!btrfs_super_root(disk_super)) 105 if (!btrfs_super_root(disk_super))
106 return NULL; 106 return NULL;
107 INIT_RADIX_TREE(&fs_info->pinned_radix, GFP_KERNEL); 107 init_bit_radix(&fs_info->pinned_radix);
108 init_bit_radix(&fs_info->pending_del_radix);
108 fs_info->running_transaction = NULL; 109 fs_info->running_transaction = NULL;
109 fs_info->fs_root = root; 110 fs_info->fs_root = root;
110 fs_info->tree_root = tree_root; 111 fs_info->tree_root = tree_root;