remove unused symlink resolving

This commit is contained in:
chrislu
2022-08-04 01:35:18 -07:00
parent 88945d9954
commit bd13a7968f
4 changed files with 9 additions and 19 deletions

View File

@@ -7,7 +7,7 @@ import (
func (wfs *WFS) AcquireHandle(inode uint64, uid, gid uint32) (fileHandle *FileHandle, status fuse.Status) {
var entry *filer_pb.Entry
_, _, entry, inode, status = wfs.maybeReadEntry(inode, true)
_, _, entry, status = wfs.maybeReadEntry(inode)
if status == fuse.OK {
// need to AcquireFileHandle again to ensure correct handle counter
fileHandle = wfs.fhmap.AcquireFileHandle(wfs, inode, entry)