mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-27 07:20:44 +01:00
properly clear out the file.entry
This commit is contained in:
1 parent
abff1f67a6
commit
02dc51b1ed
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user