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.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/fasync/fasync.go b/pkg/sentry/kernel/fasync/fasync.go
index 69c7970fa..7d01abe90 100644
--- a/pkg/sentry/kernel/fasync/fasync.go
+++ b/pkg/sentry/kernel/fasync/fasync.go
@@ -32,8 +32,10 @@ func New() fs.FileAsync {
}
// FileAsync sends signals when the registered file is ready for IO.
+//
+// +stateify savable
type FileAsync struct {
- mu sync.Mutex
+ mu sync.Mutex `state:"nosave"`
e waiter.Entry
requester *auth.Credentials