summaryrefslogtreecommitdiffhomepage
path: root/pkg/p9
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-06-19 20:49:27 +0000
committergVisor bot <gvisor-bot@google.com>2019-06-19 20:49:27 +0000
commit4d43018c2faf8259c1ad2bbc50b1e935692eff75 (patch)
treeceb5f7fcb43cf3269ee0272c4c192f3e5366fe59 /pkg/p9
parent1e5ed4cba12a11bd3b02c1eefa0dd493b03e10fa (diff)
parent9d2efaac5af3618a637abe2dba23f63387dd086e (diff)
Merge 9d2efaac (automated)
Diffstat (limited to 'pkg/p9')
-rw-r--r--pkg/p9/server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/p9/server.go b/pkg/p9/server.go
index c3ab7dad1..bdeb495c2 100644
--- a/pkg/p9/server.go
+++ b/pkg/p9/server.go
@@ -264,7 +264,7 @@ func (f *fidRef) renameChildTo(oldName string, target *fidRef, newName string) {
})
// Replace the previous (now deleted) path node.
- f.pathNode.children.Store(newName, origPathNode)
+ target.pathNode.children.Store(newName, origPathNode)
// Call Renamed on everything above.
notifyNameChange(origPathNode)