diff options
| author | chrislu <chris.lu@gmail.com> | 2022-04-09 22:52:59 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-04-09 22:52:59 -0700 |
| commit | 261ba0208eaee06d6ff3f08b7e3e2f83df7f3cde (patch) | |
| tree | 440f890aff5aa0c793d9340cae7a43c2a54e01ae /weed/mount/filehandle_map.go | |
| parent | 71e837d6f17916cf54478e61ee132c6c6e5e1565 (diff) | |
| download | seaweedfs-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.go | 1 |
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 } |
