Loop umount'ing rootfs until there are no more mounts

This is simpler than trying to count how many successful mounts we made.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
Ian Campbell
2017-07-13 09:59:19 +01:00
parent d63d2ecf6c
commit d42cb88ba2
5 changed files with 42 additions and 35 deletions

View File

@@ -15,3 +15,7 @@ func (m *Mount) Mount(target string) error {
func Unmount(mount string, flags int) error {
return ErrNotImplementOnUnix
}
func UnmountAll(mount string, flags int) error {
return ErrNotImplementOnUnix
}