mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-12-03 20:41:50 +01:00
Adoption keeps the tree's name while a rename is queued, and asks before the read-back (B161) and under the tree lock (B152). A rename queued after the first look and landed before the second left no op for either, and the read-back still had the old name, so the tree took it back. A later rename over the new name then had no victim to trash, and waited on its own move away from that name until it ran out of tries. Adoption now notes the node's placement before the read-back. Queueing a rename moves the tree entry, so a placement that changed meanwhile is kept like a queued rename. B309.