common: use mount/umount helpers everywhere
[xfstests-dev.git] / tests / generic / 046
index 76993d40846a5f7b003283d63c85f2f4d2da3290..08f11370512378b4ca4c043c35e718bb8c23de08 100755 (executable)
@@ -70,9 +70,9 @@ sleep 10
 
 src/godown $SCRATCH_MNT
 
-umount $SCRATCH_MNT
+_scratch_unmount
 _scratch_mount
-umount $SCRATCH_MNT
+_scratch_unmount
 if [ ! _check_scratch_fs ]
 then
        echo error detected in filesystem