summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/pipe/vfs.go
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2019-10-19 11:48:09 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-19 11:49:38 -0700
commit652f7b1d0fef6f522baaed091d4820a48014092c (patch)
tree232c464eb49748ab5a57ad18f6912280a9f82dfe /pkg/sentry/kernel/pipe/vfs.go
parent74044f2cca498ed3144baccc5d3b7af534829966 (diff)
Add support for pipes in VFS2.
PiperOrigin-RevId: 275650307
Diffstat (limited to 'pkg/sentry/kernel/pipe/vfs.go')
-rw-r--r--pkg/sentry/kernel/pipe/vfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/pipe/vfs.go b/pkg/sentry/kernel/pipe/vfs.go
index 02320b830..6416e0dd8 100644
--- a/pkg/sentry/kernel/pipe/vfs.go
+++ b/pkg/sentry/kernel/pipe/vfs.go
@@ -182,7 +182,7 @@ func (fd *VFSPipeFD) Release() {
}
// OnClose implements vfs.FileDescriptionImpl.OnClose.
-func (fd *VFSPipeFD) OnClose() error {
+func (fd *VFSPipeFD) OnClose(_ context.Context) error {
return nil
}