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 <nborisov@suse.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Nikolay Borisov
2019-03-25 16:52:21 +02:00
committed by Eryu Guan
parent 1bdf7c3508
commit 2d103d8ab8
+2
View File
@@ -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