From 2d103d8ab81464eaff86a1dcf0751e7c40323c7b Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Mon, 25 Mar 2019 16:52:21 +0200 Subject: [PATCH] fstests: Add missing call to _scratch_dev_pool_put Every call to _scratch_dev_pool_get must be paired with call to _scratch_dev_pool_put otherwise the SCRATCH_POOL variable will have less devices than it actually must. Signed-off-by: Nikolay Borisov Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- tests/btrfs/148 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/btrfs/148 b/tests/btrfs/148 index 3fd8616f..55f76bc8 100755 --- a/tests/btrfs/148 +++ b/tests/btrfs/148 @@ -66,5 +66,7 @@ test_direct_io_write "-m raid5 -d raid5" echo "Testing RAID6..." test_direct_io_write "-m raid6 -d raid6" +_scratch_dev_pool_put + status=0 exit -- 2.39.5