summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/sys
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/sys
parenta50cfffd384c07e11b5d3ad21f3a096bf1ff4521 (diff)
parent265f1eb2c7abbbf924448ef6bbd8cddb13e66b9f (diff)
Merge release-20201019.0-96-g265f1eb2c (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/sys')
-rw-r--r--pkg/sentry/fsimpl/sys/sys.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/sys/sys.go b/pkg/sentry/fsimpl/sys/sys.go
index 7d2147141..506a2a0f0 100644
--- a/pkg/sentry/fsimpl/sys/sys.go
+++ b/pkg/sentry/fsimpl/sys/sys.go
@@ -102,7 +102,7 @@ func (fsType FilesystemType) GetFilesystem(ctx context.Context, vfsObj *vfs.Virt
"power": fs.newDir(ctx, creds, defaultSysDirMode, nil),
})
var rootD kernfs.Dentry
- rootD.Init(&fs.Filesystem, root)
+ rootD.InitRoot(&fs.Filesystem, root)
return fs.VFSFilesystem(), rootD.VFSDentry(), nil
}