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 <nborisov@xxxxxxxx> --- tests/btrfs/148 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/btrfs/148 b/tests/btrfs/148 index 3fd8616f4b4a..55f76bc8af7e 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.7.4
