if image feature EXCLUSIVE_LOCK is not enabled we should not try to
initialize the exclusive lock, or we may end with two async Contexts
to finish the same SetSnapRequest instance
Fixes: http://tracker.ceph.com/issues/15571
Signed-off-by: runsisi <runsisi@zte.com.cn>
(cherry picked from commit
0a6eaac12fe29762c3dd29068f9427840cfea100)
int r = 0;
if (send_refresh_parent(&r) != nullptr) {
send_complete();
- return;
}
+ return;
}
CephContext *cct = m_image_ctx.cct;