From bd01816c872672b74998694bb6e759df2a336735 Mon Sep 17 00:00:00 2001 From: Zhaozhong Ni Date: Mon, 27 Aug 2018 11:54:15 -0700 Subject: sentry: mark fsutil.DirFileOperations as savable. PiperOrigin-RevId: 210405166 Change-Id: I252766015885c418e914007baf2fc058fec39b3e --- pkg/sentry/fs/fsutil/file.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/sentry/fs/fsutil/file.go') 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"` -- cgit v1.2.3