glusterfs
glusterfs copied to clipboard
Don't fire the callback when cleanup is in progress
Fixes: #4525 Change-Id: I8264d21fb285a870adead71015f1fc87a4b375ab
The issue seems to be that there is a lag between setting ctx->cleanup_started and setting reg->fin in timer, so by the time the event callback is triggered conn was already freed.
@pranithk I see you marked it as Draft, does that mean it is still a work in progress? Do you want me to review this change?