fstests: Add missing call to _scratch_dev_pool_put
authorNikolay Borisov <nborisov@suse.com>
Mon, 25 Mar 2019 14:52:21 +0000 (16:52 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sat, 30 Mar 2019 09:24:16 +0000 (17:24 +0800)
commit2d103d8ab81464eaff86a1dcf0751e7c40323c7b
treef07d49193a62baadf9d0d8f65e3747968a24c23a
parent1bdf7c3508408bc85986c4d8093f9b93e3ceb43f
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>
tests/btrfs/148