aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/mount.go')
-rw-r--r--container/mount.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/container/mount.go b/container/mount.go
index fd7ac723..c5a82aaa 100644
--- a/container/mount.go
+++ b/container/mount.go
@@ -96,15 +96,9 @@ const (
)
// bindMount mounts source on target and recursively applies flags if MS_REC is set.
-func (p *procPaths) bindMount(source, target string, flags uintptr, eq bool) error {
+func (p *procPaths) bindMount(source, target string, flags uintptr) error {
// syscallDispatcher.bindMount and procPaths.remount must not be called from this function
- if eq {
- p.k.verbosef("resolved %q flags %#x", target, flags)
- } else {
- p.k.verbosef("resolved %q on %q flags %#x", source, target, flags)
- }
-
if err := p.k.mount(source, target, FstypeNULL, MS_SILENT|MS_BIND|flags&MS_REC, zeroString); err != nil {
return err
}