summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-08-27 11:54:15 -0700
committerShentubot <shentubot@google.com>2018-08-27 11:55:32 -0700
commitbd01816c872672b74998694bb6e759df2a336735 (patch)
tree49b9e6d41a8b66a528e3fb6019870dabe5144f7e /pkg/sentry
parentdb81c0b02f2f947ae837a3e16471a148a66436eb (diff)
sentry: mark fsutil.DirFileOperations as savable.
PiperOrigin-RevId: 210405166 Change-Id: I252766015885c418e914007baf2fc058fec39b3e
Diffstat (limited to 'pkg/sentry')
-rw-r--r--pkg/sentry/fs/fsutil/file.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fs/fsutil/file.go b/pkg/sentry/fs/fsutil/file.go
index b17f11a5a..d5881613b 100644
--- a/pkg/sentry/fs/fsutil/file.go
+++ b/pkg/sentry/fs/fsutil/file.go
@@ -214,6 +214,8 @@ func (NoIoctl) Ioctl(ctx context.Context, io usermem.IO, args arch.SyscallArgume
}
// DirFileOperations implements FileOperations for directories.
+//
+// +stateify savable
type DirFileOperations struct {
waiter.AlwaysReady `state:"nosave"`
NoopRelease `state:"nosave"`