From: Tianshan Qu Date: Mon, 11 Dec 2017 11:48:00 +0000 (+0800) Subject: rgw: fix recursive lock X-Git-Tag: v13.0.2~814^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a0b51eef86f3c2dd9fb2cc1bbdacf969f6522867;p=ceph-ci.git rgw: fix recursive lock Signed-off-by: Tianshan Qu --- diff --git a/src/rgw/rgw_coroutine.cc b/src/rgw/rgw_coroutine.cc index 7c103bfa643..479805b29b6 100644 --- a/src/rgw/rgw_coroutine.cc +++ b/src/rgw/rgw_coroutine.cc @@ -439,7 +439,6 @@ void RGWCoroutinesManager::handle_unblocked_stack(set& con if (!stack->is_done()) { scheduled_stacks.push_back(stack); } else { - RWLock::WLocker wl(lock); context_stacks.erase(stack); stack->put(); }