diff options
author | Chong Cai <chongc@google.com> | 2020-12-17 14:20:56 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-17 14:23:02 -0800 |
commit | 433fd0e64650e31ab28e9d918d6dfcd9a67b4246 (patch) | |
tree | b92d5e65379daa18a0cb2b1bfa3767a7ca8d74f3 /pkg/sentry/fsimpl/verity | |
parent | a0209de301cf33a60b4217356ea3806ae4042e0d (diff) |
Set verityMu to be state nosave
PiperOrigin-RevId: 348092999
Diffstat (limited to 'pkg/sentry/fsimpl/verity')
-rw-r--r-- | pkg/sentry/fsimpl/verity/verity.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/verity/verity.go b/pkg/sentry/fsimpl/verity/verity.go index 66029c64d..a5171b5ad 100644 --- a/pkg/sentry/fsimpl/verity/verity.go +++ b/pkg/sentry/fsimpl/verity/verity.go @@ -180,7 +180,7 @@ type filesystem struct { // its children. So they shouldn't be enabled the same time. This lock // is for the whole file system to ensure that no more than one file is // enabled the same time. - verityMu sync.RWMutex + verityMu sync.RWMutex `state:"nosave"` } // InternalFilesystemOptions may be passed as |