summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/gofer
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-19 22:32:43 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-19 22:32:43 +0000
commita8329e99c58d315bfe748c667f6ce133cd6e4198 (patch)
treeaf58cce507081d908debf40f0e5a326678a988b2 /pkg/sentry/fs/gofer
parent7dcd014bcfe17836a8ef57e0f840d3c574d07965 (diff)
parent3454d572199679d6abc66c0c29539829dd9baf51 (diff)
Merge release-20201109.0-89-g3454d5721 (automated)
Diffstat (limited to 'pkg/sentry/fs/gofer')
-rw-r--r--pkg/sentry/fs/gofer/inode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/gofer/inode.go b/pkg/sentry/fs/gofer/inode.go
index 3a225fd39..9d6fdd08f 100644
--- a/pkg/sentry/fs/gofer/inode.go
+++ b/pkg/sentry/fs/gofer/inode.go
@@ -117,7 +117,7 @@ type inodeFileState struct {
// loading is acquired when the inodeFileState begins an asynchronous
// load. It releases when the load is complete. Callers that require all
// state to be available should call waitForLoad() to ensure that.
- loading sync.Mutex `state:".(struct{})"`
+ loading sync.CrossGoroutineMutex `state:".(struct{})"`
// savedUAttr is only allocated during S/R. It points to the save-time
// unstable attributes and is used to validate restore-time ones.