mirror of
https://github.com/ceph/ceph
synced 2025-02-12 13:29:17 +00:00
Merge pull request #29263 from trociny/wip-rbd-external_callback
librbd: don't use complete_external_callback if ImageCtx destroyed Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
commit
ed6a047c71
@ -95,6 +95,7 @@ void AioCompletion::complete() {
|
||||
// must destroy ImageCtx prior to invoking callback
|
||||
delete ictx;
|
||||
ictx = nullptr;
|
||||
external_callback = false;
|
||||
}
|
||||
|
||||
state = AIO_STATE_CALLBACK;
|
||||
|
Loading…
Reference in New Issue
Block a user