On Fri, Jan 24, 2020 at 09:32:18AM -0500, Josef Bacik wrote: > @@ -2645,8 +2639,10 @@ int __cold open_ctree(struct super_block *sb, > int clear_free_space_tree = 0; > int level; > > - tree_root = fs_info->tree_root = btrfs_alloc_root(fs_info, GFP_KERNEL); > - chunk_root = fs_info->chunk_root = btrfs_alloc_root(fs_info, GFP_KERNEL); > + tree_root = fs_info->tree_root = btrfs_alloc_root(fs_info, > + BTRFS_ROOT_TREE_OBJECTID, GFP_KERNEL); > + chunk_root = fs_info->chunk_root = btrfs_alloc_root(fs_info, > + BTRFS_CHUNK_TREE_OBJECTID, GFP_KERNEL); Chaned assignments should be split to individual assignments when the code is changed. Updated.
