summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel')
-rw-r--r--pkg/sentry/kernel/fasync/fasync.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/fasync/fasync.go b/pkg/sentry/kernel/fasync/fasync.go
index 15218fb5a..69c7970fa 100644
--- a/pkg/sentry/kernel/fasync/fasync.go
+++ b/pkg/sentry/kernel/fasync/fasync.go
@@ -47,6 +47,7 @@ type FileAsync struct {
func (a *FileAsync) Callback(e *waiter.Entry) {
a.mu.Lock()
if a.e.Callback == nil {
+ a.mu.Unlock()
return
}
t := a.recipientT