Commit 39d680ab authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Use GetFresh() rather than DropEntry()+Get().

parent 1c7ae21c
...@@ -719,8 +719,7 @@ func (me *UnionFs) Open(name string, flags uint32) (fuseFile fuse.File, status f ...@@ -719,8 +719,7 @@ func (me *UnionFs) Open(name string, flags uint32) (fuseFile fuse.File, status f
func (me *UnionFs) Flush(name string) fuse.Status { func (me *UnionFs) Flush(name string) fuse.Status {
// Refresh timestamps and size field. // Refresh timestamps and size field.
me.branchCache.DropEntry(name) me.branchCache.GetFresh(name)
me.getBranch(name)
return fuse.OK return fuse.OK
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment