summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/proc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-29 02:06:29 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-29 02:06:29 +0000
commitc32441259d4ae3c7d54e8005d1af8a7f22e942c4 (patch)
tree90f97da89fc4178277a7d0fffddb46470ab18e9a /pkg/sentry/fsimpl/proc
parenta50cfffd384c07e11b5d3ad21f3a096bf1ff4521 (diff)
parent265f1eb2c7abbbf924448ef6bbd8cddb13e66b9f (diff)
Merge release-20201019.0-96-g265f1eb2c (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/proc')
-rw-r--r--pkg/sentry/fsimpl/proc/filesystem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/proc/filesystem.go b/pkg/sentry/fsimpl/proc/filesystem.go
index 99abcab66..8716d0a3c 100644
--- a/pkg/sentry/fsimpl/proc/filesystem.go
+++ b/pkg/sentry/fsimpl/proc/filesystem.go
@@ -94,7 +94,7 @@ func (ft FilesystemType) GetFilesystem(ctx context.Context, vfsObj *vfs.VirtualF
inode := procfs.newTasksInode(ctx, k, pidns, cgroups)
var dentry kernfs.Dentry
- dentry.Init(&procfs.Filesystem, inode)
+ dentry.InitRoot(&procfs.Filesystem, inode)
return procfs.VFSFilesystem(), dentry.VFSDentry(), nil
}