remove empty calls for list cache

This commit is contained in:
Chris Lu
2020-06-28 10:25:54 -07:00
parent 6498d0c86b
commit 95a1860d65
5 changed files with 1 additions and 34 deletions

View File

@@ -39,8 +39,6 @@ func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirector
})
if err == nil {
dir.wfs.cacheDelete(newPath)
dir.wfs.cacheDelete(oldPath)
// fmt.Printf("rename path: %v => %v\n", oldPath, newPath)
dir.wfs.fsNodeCache.Move(oldPath, newPath)