summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-06 07:24:21 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-06 07:24:21 +0000
commit8705fd28505eec91114744527e7f994fcfa1984e (patch)
tree634ea7668d03a145cda9722eb023a0df333954a5 /pkg/sentry
parent8afb4bb7c716d2878834206a587ef5a81e53c1a2 (diff)
parenta57dc67b6386c4c75ba6b9b4cee11277a8a98898 (diff)
Merge release-20200928.0-51-ga57dc67b6 (automated)
Diffstat (limited to 'pkg/sentry')
-rw-r--r--pkg/sentry/fsbridge/vfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsbridge/vfs.go b/pkg/sentry/fsbridge/vfs.go
index 323506d33..be0900030 100644
--- a/pkg/sentry/fsbridge/vfs.go
+++ b/pkg/sentry/fsbridge/vfs.go
@@ -122,7 +122,7 @@ func NewVFSLookup(mntns *vfs.MountNamespace, root, workingDir vfs.VirtualDentry)
// remainingTraversals is not configurable in VFS2, all callers are using the
// default anyways.
func (l *vfsLookup) OpenPath(ctx context.Context, pathname string, opts vfs.OpenOptions, _ *uint, resolveFinal bool) (File, error) {
- vfsObj := l.mntns.Root().Mount().Filesystem().VirtualFilesystem()
+ vfsObj := l.root.Mount().Filesystem().VirtualFilesystem()
creds := auth.CredentialsFromContext(ctx)
path := fspath.Parse(pathname)
pop := &vfs.PathOperation{