aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/filehandle_map.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-04-09 22:52:59 -0700
committerchrislu <chris.lu@gmail.com>2022-04-09 22:52:59 -0700
commit261ba0208eaee06d6ff3f08b7e3e2f83df7f3cde (patch)
tree440f890aff5aa0c793d9340cae7a43c2a54e01ae /weed/mount/filehandle_map.go
parent71e837d6f17916cf54478e61ee132c6c6e5e1565 (diff)
downloadseaweedfs-261ba0208eaee06d6ff3f08b7e3e2f83df7f3cde.tar.xz
seaweedfs-261ba0208eaee06d6ff3f08b7e3e2f83df7f3cde.zip
lock-protected setting entry
Diffstat (limited to 'weed/mount/filehandle_map.go')
-rw-r--r--weed/mount/filehandle_map.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/mount/filehandle_map.go b/weed/mount/filehandle_map.go
index a8af391af..e6e2d15c9 100644
--- a/weed/mount/filehandle_map.go
+++ b/weed/mount/filehandle_map.go
@@ -49,6 +49,7 @@ func (i *FileHandleToInode) AcquireFileHandle(wfs *WFS, inode uint64, entry *fil
} else {
fh.counter++
}
+ fh.entry = entry
return fh
}