Commit 6dd72b8a authored by abitduck's avatar abitduck Committed by Han-Wen Nienhuys

Fix deadlock in RmChild

Change-Id: I8845cac5c18d2640b46971564f94f7ff1741a0ee
parent 9473722e
......@@ -583,8 +583,6 @@ retry:
lockNodes(lockme...)
if n.changeCounter != nChange {
unlockNodes(lockme...)
// could avoid unlocking and relocking n here.
n.mu.Lock()
continue retry
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment