summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/vfs.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-28 00:02:06 +0000
committergVisor bot <gvisor-bot@google.com>2020-03-28 00:02:06 +0000
commitc52860cb85f5b5158a7ab8ae17df1c5f5eca6792 (patch)
tree2cbe0a631d87b09cfb92195d54e7e78542cdfd58 /pkg/sentry/vfs/vfs.go
parenta6ea548493fda77685d10293a0380b37bee93617 (diff)
parentf6e4daa67ad5f07ac1bcff33476b4d13f49a69bc (diff)
Merge release-20200219.0-255-gf6e4daa (automated)
Diffstat (limited to 'pkg/sentry/vfs/vfs.go')
-rwxr-xr-xpkg/sentry/vfs/vfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/vfs.go b/pkg/sentry/vfs/vfs.go
index 1708c1a53..720b90d8f 100755
--- a/pkg/sentry/vfs/vfs.go
+++ b/pkg/sentry/vfs/vfs.go
@@ -134,7 +134,7 @@ func (vfs *VirtualFilesystem) Init() error {
anonfs := anonFilesystem{
devMinor: anonfsDevMinor,
}
- anonfs.vfsfs.Init(vfs, &anonfs)
+ anonfs.vfsfs.Init(vfs, &anonFilesystemType{}, &anonfs)
defer anonfs.vfsfs.DecRef()
anonMount, err := vfs.NewDisconnectedMount(&anonfs.vfsfs, nil, &MountOptions{})
if err != nil {