Commit 13584d14 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Stopgap solution for Emacs timestamp confusion.

parent 3c135f28
......@@ -702,9 +702,10 @@ func (me *UnionFs) Open(name string, flags uint32) (fuseFile fuse.File, status f
}
func (me *UnionFs) Release(name string) {
me.branchCache.DropEntry(name)
// Refresh.
me.getBranch(name)
r := me.getBranch(name)
fresh := me.getBranchAttrNoCache(name)
r.attr.Size = fresh.attr.Size
me.branchCache.Set(name, r)
}
func (me *UnionFs) Roots() (result []string) {
......
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