Browse Source

properly clear out the file.entry

pull/1584/head
Chris Lu 4 years ago
parent
commit
02dc51b1ed
  1. 2
      weed/filesys/wfs.go

2
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)
}
}
})

Loading…
Cancel
Save