summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/file.go')
-rw-r--r--pkg/sentry/fs/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/file.go b/pkg/sentry/fs/file.go
index 8e535a618..904827a3e 100644
--- a/pkg/sentry/fs/file.go
+++ b/pkg/sentry/fs/file.go
@@ -91,7 +91,7 @@ type File struct {
mu amutex.AbortableMutex `state:"nosave"`
// FileOperations implements file system specific behavior for this File.
- FileOperations FileOperations
+ FileOperations FileOperations `state:"wait"`
// offset is the File's offset. Updating offset is protected by mu but
// can be read atomically via File.Offset() outside of mu.