diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-06-28 10:25:54 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-06-28 10:25:54 -0700 |
| commit | 95a1860d653ad886d4f70d031f8af0c5bf5351d4 (patch) | |
| tree | 6072b880dd1db91c2e08ba5d43e3d87a8a7ed18c /weed/filesys/xattr.go | |
| parent | 6498d0c86b45ff03584c9aaa5c2d0374b60543b6 (diff) | |
| download | seaweedfs-95a1860d653ad886d4f70d031f8af0c5bf5351d4.tar.xz seaweedfs-95a1860d653ad886d4f70d031f8af0c5bf5351d4.zip | |
remove empty calls for list cache
Diffstat (limited to 'weed/filesys/xattr.go')
| -rw-r--r-- | weed/filesys/xattr.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/weed/filesys/xattr.go b/weed/filesys/xattr.go index b6bce6978..091a70fa3 100644 --- a/weed/filesys/xattr.go +++ b/weed/filesys/xattr.go @@ -111,10 +111,6 @@ func listxattr(entry *filer_pb.Entry, req *fuse.ListxattrRequest, resp *fuse.Lis func (wfs *WFS) maybeLoadEntry(dir, name string) (entry *filer_pb.Entry, err error) { fullpath := util.NewFullPath(dir, name) - entry = wfs.cacheGet(fullpath) - if entry != nil { - return - } // glog.V(3).Infof("read entry cache miss %s", fullpath) // read from async meta cache |
