btrfs: make sure we rescan all devices after unregistering
[xfstests-dev.git] / tests / btrfs / 164
index 55d4a68..ad22b6a 100755 (executable)
@@ -22,6 +22,7 @@ _cleanup()
 {
        cd /
        rm -f $tmp.*
+       _btrfs_rescan_devices
 }
 
 # get standard environment, filters and checks
@@ -90,6 +91,7 @@ delete_seed
 seed_is_mountable
 
 _scratch_dev_pool_put
+_btrfs_rescan_devices
 
 status=0
 exit