From a8d0e9170520313fb0fc4484399a4e2b6b7176b3 Mon Sep 17 00:00:00 2001 From: Xavier Lucas Date: Mon, 22 Feb 2016 19:28:52 +0100 Subject: [PATCH] Fixed cache eviction on released handle Signed-off-by: Xavier Lucas --- svfs/handle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svfs/handle.go b/svfs/handle.go index c4952e8..34df120 100644 --- a/svfs/handle.go +++ b/svfs/handle.go @@ -40,7 +40,7 @@ func (fh *ObjectHandle) Release(ctx context.Context, req *fuse.ReleaseRequest) e fh.w.Close() } if fh.p != nil { - EntryCache.Delete("", fh.p.path) + EntryCache.Delete(fh.p.c.Name, fh.p.path) } return nil }