From 433fd0e64650e31ab28e9d918d6dfcd9a67b4246 Mon Sep 17 00:00:00 2001 From: Chong Cai Date: Thu, 17 Dec 2020 14:20:56 -0800 Subject: Set verityMu to be state nosave PiperOrigin-RevId: 348092999 --- pkg/sentry/fsimpl/verity/verity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') 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 -- cgit v1.2.3