snapshots|pkg: umount without DETACH and nosync after umount

Signed-off-by: Wei Fu <fuweid89@gmail.com>
This commit is contained in:
Wei Fu
2023-06-15 06:12:22 +00:00
parent 72b7d16505
commit 6dfb16f99a
10 changed files with 5 additions and 95 deletions

View File

@@ -20,8 +20,6 @@ package testsuite
import (
"syscall"
"golang.org/x/sys/unix"
)
func clearMask() func() {
@@ -30,7 +28,3 @@ func clearMask() func() {
syscall.Umask(oldumask)
}
}
func sync() {
unix.Sync()
}