Home
last modified time | relevance | path

Searched refs:tmp_root (Results 1 – 1 of 1) sorted by relevance

/fs/btrfs/tests/
Dqgroup-tests.c443 struct btrfs_root *tmp_root; in btrfs_test_qgroups() local
487 tmp_root = btrfs_alloc_dummy_root(fs_info); in btrfs_test_qgroups()
488 if (IS_ERR(tmp_root)) { in btrfs_test_qgroups()
490 ret = PTR_ERR(tmp_root); in btrfs_test_qgroups()
494 tmp_root->root_key.objectid = BTRFS_FS_TREE_OBJECTID; in btrfs_test_qgroups()
495 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
496 ret = btrfs_insert_fs_root(root->fs_info, tmp_root); in btrfs_test_qgroups()
501 btrfs_put_root(tmp_root); in btrfs_test_qgroups()
503 tmp_root = btrfs_alloc_dummy_root(fs_info); in btrfs_test_qgroups()
504 if (IS_ERR(tmp_root)) { in btrfs_test_qgroups()
[all …]