aboutsummaryrefslogtreecommitdiff
path: root/weed/mount/filehandle_map.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/mount/filehandle_map.go')
-rw-r--r--weed/mount/filehandle_map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/mount/filehandle_map.go b/weed/mount/filehandle_map.go
index 4cf674166..cc5885ffc 100644
--- a/weed/mount/filehandle_map.go
+++ b/weed/mount/filehandle_map.go
@@ -50,7 +50,7 @@ func (i *FileHandleToInode) AcquireFileHandle(wfs *WFS, inode uint64, entry *fil
} else {
fh.counter++
}
- if fh.entry != entry {
+ if fh.GetEntry() != entry {
fh.SetEntry(entry)
}
return fh