aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-16 21:32:15 -0800
committerchrislu <chris.lu@gmail.com>2022-02-16 21:32:15 -0800
commit49b84b6e2a5565cc133c184e1a25a4110f76b24b (patch)
tree4cc0ae2e8d9ba2775ef1f9aa008b935090921f8f /weed/mount/weedfs.go
parent65a19e3abc602ad829b427d3ec6813c7616aa7be (diff)
downloadseaweedfs-49b84b6e2a5565cc133c184e1a25a4110f76b24b.tar.xz
seaweedfs-49b84b6e2a5565cc133c184e1a25a4110f76b24b.zip
list entries while reading from remote
Diffstat (limited to 'weed/mount/weedfs.go')
-rw-r--r--weed/mount/weedfs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.go
index 51bf641ef..b070fdd6c 100644
--- a/weed/mount/weedfs.go
+++ b/weed/mount/weedfs.go
@@ -140,7 +140,7 @@ func (wfs *WFS) maybeLoadEntry(fullpath util.FullPath) (*filer_pb.Entry, fuse.St
}
// read from async meta cache
- meta_cache.EnsureVisited(wfs.metaCache, wfs, util.FullPath(dir))
+ meta_cache.EnsureVisited(wfs.metaCache, wfs, util.FullPath(dir), nil)
cachedEntry, cacheErr := wfs.metaCache.FindEntry(context.Background(), fullpath)
if cacheErr == filer_pb.ErrNotFound {
return nil, fuse.ENOENT