diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-29 02:06:29 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-29 02:06:29 +0000 |
commit | c32441259d4ae3c7d54e8005d1af8a7f22e942c4 (patch) | |
tree | 90f97da89fc4178277a7d0fffddb46470ab18e9a /pkg/sentry/fsimpl/devpts | |
parent | a50cfffd384c07e11b5d3ad21f3a096bf1ff4521 (diff) | |
parent | 265f1eb2c7abbbf924448ef6bbd8cddb13e66b9f (diff) |
Merge release-20201019.0-96-g265f1eb2c (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/devpts')
-rw-r--r-- | 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 9185877f6..346cca558 100644 --- a/pkg/sentry/fsimpl/devpts/devpts.go +++ b/pkg/sentry/fsimpl/devpts/devpts.go @@ -113,7 +113,7 @@ func (fstype *FilesystemType) newFilesystem(ctx context.Context, vfsObj *vfs.Vir root.EnableLeakCheck() var rootD kernfs.Dentry - rootD.Init(&fs.Filesystem, root) + rootD.InitRoot(&fs.Filesystem, root) // Construct the pts master inode and dentry. Linux always uses inode // id 2 for ptmx. See fs/devpts/inode.c:mknod_ptmx. |