Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Commit

Permalink
Fixed cache eviction on released handle
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Lucas <xavier.lucas@corp.ovh.com>
  • Loading branch information
Xavier Lucas committed Feb 22, 2016
1 parent d98d365 commit a8d0e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svfs/handle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a8d0e91

Please sign in to comment.