btrfs: drop private_data parameter from extent_io_tree_init
[linux-2.6-block.git] / fs / btrfs / disk-io.c
index 72e3446d9840b75448bb9a1e974a1915f1dd1352..e602e0b4c25da86650f03bbb4407661b392b47c9 100644 (file)
@@ -1044,9 +1044,9 @@ static void __setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info,
        root->anon_dev = 0;
        if (!dummy) {
                extent_io_tree_init(fs_info, &root->dirty_log_pages,
-                                   IO_TREE_ROOT_DIRTY_LOG_PAGES, NULL);
+                                   IO_TREE_ROOT_DIRTY_LOG_PAGES);
                extent_io_tree_init(fs_info, &root->log_csum_range,
-                                   IO_TREE_LOG_CSUM_RANGE, NULL);
+                                   IO_TREE_LOG_CSUM_RANGE);
        }
 
        spin_lock_init(&root->root_item_lock);
@@ -2250,7 +2250,7 @@ static void btrfs_init_btree_inode(struct btrfs_fs_info *fs_info)
 
        RB_CLEAR_NODE(&BTRFS_I(inode)->rb_node);
        extent_io_tree_init(fs_info, &BTRFS_I(inode)->io_tree,
-                           IO_TREE_BTREE_INODE_IO, NULL);
+                           IO_TREE_BTREE_INODE_IO);
        extent_map_tree_init(&BTRFS_I(inode)->extent_tree);
 
        BTRFS_I(inode)->root = btrfs_grab_root(fs_info->tree_root);
@@ -3074,7 +3074,7 @@ void btrfs_init_fs_info(struct btrfs_fs_info *fs_info)
        fs_info->block_group_cache_tree = RB_ROOT_CACHED;
 
        extent_io_tree_init(fs_info, &fs_info->excluded_extents,
-                           IO_TREE_FS_EXCLUDED_EXTENTS, NULL);
+                           IO_TREE_FS_EXCLUDED_EXTENTS);
 
        mutex_init(&fs_info->ordered_operations_mutex);
        mutex_init(&fs_info->tree_log_mutex);