diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index 759e21b15..293b09dcf 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -96,7 +96,7 @@ func NewSeaweedFileSystem(option *Option) *WFS { fsNode := wfs.fsNodeCache.GetFsNode(filePath) if fsNode != nil { if file, ok := fsNode.(*File); ok { - file.entry = nil + file.setEntry(nil) } } })