aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs_dir_lookup.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-13 05:49:29 -0800
committerchrislu <chris.lu@gmail.com>2022-02-13 05:49:29 -0800
commit6a921e15f350c3cedfe6331fab2297213ece89bd (patch)
tree5dd3142618ab38b06179b818eb523dd11074dc07 /weed/mount/weedfs_dir_lookup.go
parentf8af0f93d9474e44741d07d9d83aaa6818fd6736 (diff)
downloadseaweedfs-6a921e15f350c3cedfe6331fab2297213ece89bd.tar.xz
seaweedfs-6a921e15f350c3cedfe6331fab2297213ece89bd.zip
forget() factor in nlookup
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 477cfad0a..733e31908 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.GetInode(fullFilePath)
+ inode := wfs.inodeToPath.Lookup(fullFilePath)
wfs.outputFilerEntry(out, inode, localEntry)