summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/sys
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-05 16:29:35 +0000
committergVisor bot <gvisor-bot@google.com>2020-05-05 16:29:35 +0000
commit0d55bbfaf332c52ca6edc547947e7c05dfbd5fa2 (patch)
tree0e9539157207cf408412a83e1ae3a460da1ba868 /pkg/sentry/fsimpl/sys
parent6097d1091481ded24605786697cf5943de8bc498 (diff)
parentb3bd41434c17a95a87d67490f2b9bfd71e1ad705 (diff)
Merge release-20200422.0-27-gb3bd414 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/sys')
-rwxr-xr-xpkg/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 f8d25d35e..00f7d6214 100755
--- a/pkg/sentry/fsimpl/sys/sys.go
+++ b/pkg/sentry/fsimpl/sys/sys.go
@@ -47,7 +47,7 @@ func (FilesystemType) Name() string {
// GetFilesystem implements vfs.FilesystemType.GetFilesystem.
func (fsType FilesystemType) GetFilesystem(ctx context.Context, vfsObj *vfs.VirtualFilesystem, creds *auth.Credentials, source string, opts vfs.GetFilesystemOptions) (*vfs.Filesystem, *vfs.Dentry, error) {
fs := &filesystem{}
- fs.Filesystem.Init(vfsObj, &fsType)
+ fs.VFSFilesystem().Init(vfsObj, &fsType, fs)
k := kernel.KernelFromContext(ctx)
maxCPUCores := k.ApplicationCores()
defaultSysDirMode := linux.FileMode(0755)