|
@@ -732,8 +732,7 @@ struct btrfs_root *btrfs_read_fs_root(struct btrfs_fs_info *fs_info,
|
|
|
return fs_info->chunk_root;
|
|
|
if (location->objectid == BTRFS_CSUM_TREE_OBJECTID)
|
|
|
return fs_info->csum_root;
|
|
|
- BUG_ON(location->objectid == BTRFS_TREE_RELOC_OBJECTID ||
|
|
|
- location->offset != (u64)-1);
|
|
|
+ BUG_ON(location->objectid == BTRFS_TREE_RELOC_OBJECTID);
|
|
|
|
|
|
node = rb_search(&fs_info->fs_root_tree, (void *)&objectid,
|
|
|
btrfs_fs_roots_compare_objectids, NULL);
|