Skip to contentSkip to conversation

fstests: Add missing call to _scratch_dev_pool_put

PATCH New Nikolay Borisov 1 participant 1 message Mar 25, 2019 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 tests/btrfs/148 | 2 ++
 1 file changed, 2 insertions(+)
tests/btrfs/148 +2 -0
index 3fd8616f4b4a..55f76bc8af7e 100755
@@ -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
Signature · 1 line
2.7.4