btrfs: make sure we rescan all devices after unregistering
[xfstests-dev.git] / tests / btrfs / 163
index 735881c..b6bd690 100755 (executable)
@@ -26,6 +26,7 @@ _cleanup()
 {
        cd /
        rm -f $tmp.*
+       _btrfs_rescan_devices
 }
 
 # get standard environment, filters and checks
@@ -102,6 +103,7 @@ replace_sprout
 seed_is_mountable
 
 _scratch_dev_pool_put
+_btrfs_rescan_devices
 
 status=0
 exit