diff options
| author | Chris Lu <chris.lu@uber.com> | 2021-04-14 00:29:58 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2021-04-14 00:29:58 -0700 |
| commit | ca0f07a188152ac8ea6b6a54f628a30f61634515 (patch) | |
| tree | 3b29e536c236254c7c35f3363a5f5c6fca5811aa /weed/filesys/wfs.go | |
| parent | 5985a7d38d4823b868117f93dc958dc9635e8950 (diff) | |
| download | seaweedfs-ca0f07a188152ac8ea6b6a54f628a30f61634515.tar.xz seaweedfs-ca0f07a188152ac8ea6b6a54f628a30f61634515.zip | |
move file reader, entryViewCache to file handle
reduce file object size
Diffstat (limited to 'weed/filesys/wfs.go')
| -rw-r--r-- | weed/filesys/wfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index ba5eb4b6b..aaff1377b 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -111,7 +111,7 @@ func NewSeaweedFileSystem(option *Option) *WFS { if err := wfs.Server.InvalidateNodeData(file); err != nil { glog.V(4).Infof("InvalidateNodeData %s : %v", filePath, err) } - file.clearEntry() + file.entry = nil } } dir, name := filePath.DirAndName() |
