aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs_dir_lookup.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-16 16:49:03 -0800
committerchrislu <chris.lu@gmail.com>2022-02-16 16:49:03 -0800
commit6ac066d1dc03335adeacf17b923b8208418c9124 (patch)
tree75e06d2b9f7761be482904322ef4ef8e084c8bb0 /weed/mount/weedfs_dir_lookup.go
parenta129bda7d98bdbd8ca41c3aeb94739582686a6f1 (diff)
downloadseaweedfs-6ac066d1dc03335adeacf17b923b8208418c9124.tar.xz
seaweedfs-6ac066d1dc03335adeacf17b923b8208418c9124.zip
count lookup or not
Diffstat (limited to 'weed/mount/weedfs_dir_lookup.go')
-rw-r--r--weed/mount/weedfs_dir_lookup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/mount/weedfs_dir_lookup.go b/weed/mount/weedfs_dir_lookup.go
index 30b61d75f..a4befa7fa 100644
--- a/weed/mount/weedfs_dir_lookup.go
+++ b/weed/mount/weedfs_dir_lookup.go
@@ -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)