diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-05-05 16:29:35 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-05 16:29:35 +0000 |
commit | 0d55bbfaf332c52ca6edc547947e7c05dfbd5fa2 (patch) | |
tree | 0e9539157207cf408412a83e1ae3a460da1ba868 /pkg/sentry/fsimpl/devpts | |
parent | 6097d1091481ded24605786697cf5943de8bc498 (diff) | |
parent | b3bd41434c17a95a87d67490f2b9bfd71e1ad705 (diff) |
Merge release-20200422.0-27-gb3bd414 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/devpts')
-rwxr-xr-x | pkg/sentry/fsimpl/devpts/devpts.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/devpts/devpts.go b/pkg/sentry/fsimpl/devpts/devpts.go index 181d765d3..94db8fe5c 100755 --- a/pkg/sentry/fsimpl/devpts/devpts.go +++ b/pkg/sentry/fsimpl/devpts/devpts.go @@ -59,7 +59,7 @@ func (fstype FilesystemType) GetFilesystem(ctx context.Context, vfsObj *vfs.Virt // master inode. It returns the filesystem and root Dentry. func (fstype FilesystemType) newFilesystem(vfsObj *vfs.VirtualFilesystem, creds *auth.Credentials) (*kernfs.Filesystem, *kernfs.Dentry) { fs := &kernfs.Filesystem{} - fs.Init(vfsObj, fstype) + fs.VFSFilesystem().Init(vfsObj, fstype, fs) // Construct the root directory. This is always inode id 1. root := &rootInode{ |