summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/vfs/anonfs.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-13 08:16:42 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-13 08:16:42 +0000
commite03503a84d2f4d3eba55b93d61f0c730e1a24842 (patch)
treedf5df29885ba3a06fb9c9e5a30db354af8c0c085 /pkg/sentry/vfs/anonfs.go
parent8959c30e99cd49d9f512ebeea65e7d45a776c242 (diff)
parent577c82f22c6c175240fa52fee560f39aaa7db3a7 (diff)
Merge release-20200928.0-99-g577c82f22 (automated)
Diffstat (limited to 'pkg/sentry/vfs/anonfs.go')
-rw-r--r--pkg/sentry/vfs/anonfs.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/anonfs.go b/pkg/sentry/vfs/anonfs.go
index bdfd3ca8f..7ad0eaf86 100644
--- a/pkg/sentry/vfs/anonfs.go
+++ b/pkg/sentry/vfs/anonfs.go
@@ -61,11 +61,14 @@ func (anonFilesystemType) GetFilesystem(context.Context, *VirtualFilesystem, *au
panic("cannot instaniate an anon filesystem")
}
-// Name implemenents FilesystemType.Name.
+// Name implements FilesystemType.Name.
func (anonFilesystemType) Name() string {
return "none"
}
+// Release implemenents FilesystemType.Release.
+func (anonFilesystemType) Release(ctx context.Context) {}
+
// anonFilesystem is the implementation of FilesystemImpl that backs
// VirtualDentries returned by VirtualFilesystem.NewAnonVirtualDentry().
//