aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/fscache.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-03-12 00:36:29 -0800
committerChris Lu <chris.lu@gmail.com>2021-03-12 00:36:38 -0800
commit7d57664c2d80f2b7d3eb4cecc57a3275bafee44d (patch)
tree86d2a46c937bc75faafca7bae9709fd5a4b9059e /weed/filesys/fscache.go
parentd41202f1b3b6e8a463eec854b721a57dffc7cf66 (diff)
downloadseaweedfs-7d57664c2d80f2b7d3eb4cecc57a3275bafee44d.tar.xz
seaweedfs-7d57664c2d80f2b7d3eb4cecc57a3275bafee44d.zip
mount: internals switch to filer.Entry instead of protobuf
Diffstat (limited to 'weed/filesys/fscache.go')
-rw-r--r--weed/filesys/fscache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/fscache.go b/weed/filesys/fscache.go
index 6b1012090..0740d607f 100644
--- a/weed/filesys/fscache.go
+++ b/weed/filesys/fscache.go
@@ -126,7 +126,7 @@ func (c *FsCache) Move(oldPath util.FullPath, newPath util.FullPath) *FsNode {
f.Name = target.name
entry := f.getEntry()
if entry != nil {
- entry.Name = f.Name
+ entry.FullPath = newPath
}
}
parent.disconnectChild(target)