Btrfs: replace tree->mapping with tree->private_data
[sfrench/cifs-2.6.git] / fs / btrfs / relocation.c
index d60df51959f7abd5f392b5f407ab85558672d10c..b291d1bebb4c148fa51e8945bc9e7e3163c5b116 100644 (file)
@@ -4269,8 +4269,7 @@ static struct reloc_control *alloc_reloc_control(struct btrfs_fs_info *fs_info)
        INIT_LIST_HEAD(&rc->reloc_roots);
        backref_cache_init(&rc->backref_cache);
        mapping_tree_init(&rc->reloc_root_tree);
        INIT_LIST_HEAD(&rc->reloc_roots);
        backref_cache_init(&rc->backref_cache);
        mapping_tree_init(&rc->reloc_root_tree);
-       extent_io_tree_init(&rc->processed_blocks,
-                           fs_info->btree_inode->i_mapping);
+       extent_io_tree_init(&rc->processed_blocks, NULL);
        return rc;
 }
 
        return rc;
 }