Merge tag 'thermal-v5.11-2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / fs / btrfs / tests / qgroup-tests.c
index ce1ca8e..f313728 100644 (file)
@@ -36,7 +36,6 @@ static int insert_normal_tree_ref(struct btrfs_root *root, u64 bytenr,
                return -ENOMEM;
        }
 
-       path->leave_spinning = 1;
        ret = btrfs_insert_empty_item(&trans, root, path, &ins, size);
        if (ret) {
                test_err("couldn't insert ref %d", ret);
@@ -86,7 +85,6 @@ static int add_tree_ref(struct btrfs_root *root, u64 bytenr, u64 num_bytes,
                return -ENOMEM;
        }
 
-       path->leave_spinning = 1;
        ret = btrfs_search_slot(&trans, root, &key, path, 0, 1);
        if (ret) {
                test_err("couldn't find extent ref");
@@ -135,7 +133,6 @@ static int remove_extent_item(struct btrfs_root *root, u64 bytenr,
                test_std_err(TEST_ALLOC_ROOT);
                return -ENOMEM;
        }
-       path->leave_spinning = 1;
 
        ret = btrfs_search_slot(&trans, root, &key, path, -1, 1);
        if (ret) {
@@ -170,7 +167,6 @@ static int remove_extent_ref(struct btrfs_root *root, u64 bytenr,
                return -ENOMEM;
        }
 
-       path->leave_spinning = 1;
        ret = btrfs_search_slot(&trans, root, &key, path, 0, 1);
        if (ret) {
                test_err("couldn't find extent ref");