list entries while reading from remote

This commit is contained in:
chrislu
2022-02-16 21:32:15 -08:00
parent 65a19e3abc
commit 49b84b6e2a
4 changed files with 45 additions and 18 deletions

View File

@@ -24,7 +24,7 @@ func (wfs *WFS) Lookup(cancel <-chan struct{}, header *fuse.InHeader, name strin
fullFilePath := dirPath.Child(name)
visitErr := meta_cache.EnsureVisited(wfs.metaCache, wfs, dirPath)
visitErr := meta_cache.EnsureVisited(wfs.metaCache, wfs, dirPath, nil)
if visitErr != nil {
glog.Errorf("dir Lookup %s: %v", dirPath, visitErr)
return fuse.EIO