mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Merge pull request #7704 from avagin:lockdev-vs-range
PiperOrigin-RevId: 454010060
This commit is contained in:
@@ -70,7 +70,7 @@ func checkLock(class *MutexClass, prevClass *MutexClass, chain []*MutexClass) {
|
|||||||
}
|
}
|
||||||
panic(b.String())
|
panic(b.String())
|
||||||
}
|
}
|
||||||
prevClass.ancestors.Range(func(parentClass *MutexClass, stacks *string) bool {
|
prevClass.ancestors.RangeRepeatable(func(parentClass *MutexClass, stacks *string) bool {
|
||||||
// The recursion is fine here. If it fails, you need to reduce
|
// The recursion is fine here. If it fails, you need to reduce
|
||||||
// a number of nested locks.
|
// a number of nested locks.
|
||||||
checkLock(class, parentClass, chain)
|
checkLock(class, parentClass, chain)
|
||||||
|
|||||||
Reference in New Issue
Block a user