summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/host/control.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/host/control.go')
-rw-r--r--pkg/sentry/fs/host/control.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/host/control.go b/pkg/sentry/fs/host/control.go
index 39299b7e4..0d8d36afa 100644
--- a/pkg/sentry/fs/host/control.go
+++ b/pkg/sentry/fs/host/control.go
@@ -57,7 +57,7 @@ func (c *scmRights) Clone() transport.RightsControlMessage {
}
// Release implements transport.RightsControlMessage.Release.
-func (c *scmRights) Release() {
+func (c *scmRights) Release(ctx context.Context) {
for _, fd := range c.fds {
syscall.Close(fd)
}