diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-08-02 20:57:13 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-02 20:57:13 +0000 |
commit | 15041d177271e6373941d372b8bd2e29db28b125 (patch) | |
tree | 5bd2c0e31b3db71ed053aa483e646f8650b1f76c /runsc/boot/fs.go | |
parent | a0ddb482614af1a079ef547adae40bc50810f636 (diff) | |
parent | b461be88a8036ca0455aceb8b6c723d6b6fded4f (diff) |
Merge b461be88 (automated)
Diffstat (limited to 'runsc/boot/fs.go')
-rw-r--r-- | runsc/boot/fs.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runsc/boot/fs.go b/runsc/boot/fs.go index 98ce40991..b6eeacf98 100644 --- a/runsc/boot/fs.go +++ b/runsc/boot/fs.go @@ -476,9 +476,6 @@ func (p *podMountHints) findMount(mount specs.Mount) *mountHint { } type containerMounter struct { - // cid is the container ID. May be set to empty for the root container. - cid string - root *specs.Root // mounts is the set of submounts for the container. It's a copy from the spec @@ -493,9 +490,8 @@ type containerMounter struct { hints *podMountHints } -func newContainerMounter(spec *specs.Spec, cid string, goferFDs []int, k *kernel.Kernel, hints *podMountHints) *containerMounter { +func newContainerMounter(spec *specs.Spec, goferFDs []int, k *kernel.Kernel, hints *podMountHints) *containerMounter { return &containerMounter{ - cid: cid, root: spec.Root, mounts: compileMounts(spec), fds: fdDispenser{fds: goferFDs}, |