Browse Source

add a comment

pull/3140/head
chrislu 3 years ago
parent
commit
746092a60b
  1. 1
      weed/mount/weedfs_filehandle.go

1
weed/mount/weedfs_filehandle.go

@ -9,6 +9,7 @@ func (wfs *WFS) AcquireHandle(inode uint64, uid, gid uint32) (fileHandle *FileHa
var entry *filer_pb.Entry
_, _, 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)
}
return

Loading…
Cancel
Save