summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/verity
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-10-18 18:13:57 +0000
committergVisor bot <gvisor-bot@google.com>2021-10-18 18:13:57 +0000
commit29477a59b6e57b7c172121852b6cd9411bf95a3d (patch)
tree5a828290fae67c8bfbb7703d72694870a3d49fd2 /pkg/sentry/fsimpl/verity
parente44bf784bcc90c7a85f83563d3bba738f4c54580 (diff)
parent4f6cda4d0ed8694a1b09d27a039eb4e57432bc75 (diff)
Merge release-20211005.0-52-g4f6cda4d0 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/verity')
-rw-r--r--pkg/sentry/fsimpl/verity/filesystem.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/verity/filesystem.go b/pkg/sentry/fsimpl/verity/filesystem.go
index 52d47994d..8b059aa7d 100644
--- a/pkg/sentry/fsimpl/verity/filesystem.go
+++ b/pkg/sentry/fsimpl/verity/filesystem.go
@@ -74,7 +74,7 @@ func putDentrySlice(ds *[]*dentry) {
// but dentry slices are allocated lazily, and it's much easier to say "defer
// fs.renameMuRUnlockAndCheckCaching(&ds)" than "defer func() {
// fs.renameMuRUnlockAndCheckCaching(ds) }()" to work around this.
-// +checklocksrelease:fs.renameMu
+// +checklocksreleaseread:fs.renameMu
func (fs *filesystem) renameMuRUnlockAndCheckCaching(ctx context.Context, ds **[]*dentry) {
fs.renameMu.RUnlock()
if *ds == nil {