qgroup-tests.c (8632987380765dee716d460640aa58d58d52998e) | qgroup-tests.c (29cbcf401793f4e2c871c846edc2191731df2c41) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2013 Facebook. All rights reserved. 4 */ 5 6#include <linux/types.h> 7#include "btrfs-tests.h" 8#include "../ctree.h" --- 441 unchanged lines hidden (view full) --- 450 root = btrfs_alloc_dummy_root(fs_info); 451 if (IS_ERR(root)) { 452 test_std_err(TEST_ALLOC_ROOT); 453 ret = PTR_ERR(root); 454 goto out; 455 } 456 457 /* We are using this root as our extent root */ | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (C) 2013 Facebook. All rights reserved. 4 */ 5 6#include <linux/types.h> 7#include "btrfs-tests.h" 8#include "../ctree.h" --- 441 unchanged lines hidden (view full) --- 450 root = btrfs_alloc_dummy_root(fs_info); 451 if (IS_ERR(root)) { 452 test_std_err(TEST_ALLOC_ROOT); 453 ret = PTR_ERR(root); 454 goto out; 455 } 456 457 /* We are using this root as our extent root */ |
458 root->fs_info->extent_root = root; | 458 root->fs_info->_extent_root = root; |
459 460 /* 461 * Some of the paths we test assume we have a filled out fs_info, so we 462 * just need to add the root in there so we don't panic. 463 */ 464 root->fs_info->tree_root = root; 465 root->fs_info->quota_root = root; 466 set_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags); --- 56 unchanged lines hidden --- | 459 460 /* 461 * Some of the paths we test assume we have a filled out fs_info, so we 462 * just need to add the root in there so we don't panic. 463 */ 464 root->fs_info->tree_root = root; 465 root->fs_info->quota_root = root; 466 set_bit(BTRFS_FS_QUOTA_ENABLED, &fs_info->flags); --- 56 unchanged lines hidden --- |