From: Nikolay Borisov Date: Mon, 25 Mar 2019 14:52:21 +0000 (+0200) Subject: fstests: Add missing call to _scratch_dev_pool_put X-Git-Tag: v2022.05.01~1213 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=2d103d8ab81464eaff86a1dcf0751e7c40323c7b;p=xfstests-dev.git 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 --- 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