diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-03-18 18:17:07 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-18 18:17:07 +0000 |
commit | d3a3fe04cccfe8646a4ec8bf9dda0689cf524e07 (patch) | |
tree | 038964257a6925f1a024a1b1852fe360d8a4f00f /runsc/cmd | |
parent | 8a3f44a54fe8897e9ec2a66b1a4d8a67511b4986 (diff) | |
parent | 5c4f4ed9eb05cfef036b55883edb8de780288441 (diff) |
Merge release-20210309.0-39-g5c4f4ed9e (automated)
Diffstat (limited to 'runsc/cmd')
-rw-r--r-- | runsc/cmd/gofer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runsc/cmd/gofer.go b/runsc/cmd/gofer.go index 639b2219c..d703e4042 100644 --- a/runsc/cmd/gofer.go +++ b/runsc/cmd/gofer.go @@ -346,7 +346,7 @@ func setupRootFS(spec *specs.Spec, conf *config.Config) error { // creates directories as needed. func setupMounts(conf *config.Config, mounts []specs.Mount, root string) error { for _, m := range mounts { - if m.Type != "bind" || !specutils.IsSupportedDevMount(m) { + if m.Type != "bind" || !specutils.IsVFS1SupportedDevMount(m) { continue } @@ -386,7 +386,7 @@ func setupMounts(conf *config.Config, mounts []specs.Mount, root string) error { func resolveMounts(conf *config.Config, mounts []specs.Mount, root string) ([]specs.Mount, error) { cleanMounts := make([]specs.Mount, 0, len(mounts)) for _, m := range mounts { - if m.Type != "bind" || !specutils.IsSupportedDevMount(m) { + if m.Type != "bind" || !specutils.IsVFS1SupportedDevMount(m) { cleanMounts = append(cleanMounts, m) continue } |