Merge pull request #6037 from sudo-sturbia:doc

PiperOrigin-RevId: 375007632
This commit is contained in:
gVisor bot
2021-05-20 21:04:26 -07:00
+3 -1
View File
@@ -702,7 +702,9 @@ func (s *Set) checkPerms(creds *auth.Credentials, reqPerms fs.PermMask) bool {
return s.checkCapability(creds)
}
// destroy destroys the set. Caller must hold 's.mu'.
// destroy destroys the set.
//
// Preconditions: Caller must hold 's.mu'.
func (s *Set) destroy() {
// Notify all waiters. They will fail on the next attempt to execute
// operations and return error.