aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/weedfs_link.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/mount/weedfs_link.go')
-rw-r--r--weed/mount/weedfs_link.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/mount/weedfs_link.go b/weed/mount/weedfs_link.go
index c1d634a94..05710e5a0 100644
--- a/weed/mount/weedfs_link.go
+++ b/weed/mount/weedfs_link.go
@@ -85,7 +85,7 @@ func (wfs *WFS) Link(cancel <-chan struct{}, in *fuse.LinkIn, name string, out *
return fuse.EIO
}
- inode := wfs.inodeToPath.GetInode(newEntryPath)
+ inode := wfs.inodeToPath.Lookup(newEntryPath)
wfs.outputPbEntry(out, inode, request.Entry)