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=refs%2Fpull%2F19430%2Fhead;p=ceph.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 7c103bfa643f..479805b29b65 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(); }