count lookup or not

This commit is contained in:
chrislu
2022-02-16 16:49:03 -08:00
parent a129bda7d9
commit 6ac066d1dc
6 changed files with 14 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ func (wfs *WFS) Lookup(cancel <-chan struct{}, header *fuse.InHeader, name strin
return fuse.ENOENT
}
inode := wfs.inodeToPath.Lookup(fullFilePath, localEntry.IsDirectory())
inode := wfs.inodeToPath.Lookup(fullFilePath, localEntry.IsDirectory(), true)
wfs.outputFilerEntry(out, inode, localEntry)