common: use mount/umount helpers everywhere
[xfstests-dev.git] / tests / xfs / 082
index f1178fdc9311b7cf95271e6b806b9ae0d53979ec..0c0b98af99765dae45c7e18edfe9785702000f00 100755 (executable)
@@ -41,7 +41,7 @@ _cleanup()
     cd /
     _cleanup_logfiles
     rm -f $tmp.*
-    umount $SCRATCH_MNT 2>/dev/null
+    _scratch_unmount 2>/dev/null
 }
 trap "_cleanup; exit \$status" 0 1 2 3 15
 
@@ -58,7 +58,7 @@ _require_v2log
 _link_out_file_named $seqfull.op $(_get_os_name)
 
 echo "*** init FS"
-umount $SCRATCH_DEV >/dev/null 2>&1
+_scratch_unmount >/dev/null 2>&1
 
 cat >$tmp.seq.params <<EOF
 # mkfs-opt             mount-opt            start-blk