From a0b51eef86f3c2dd9fb2cc1bbdacf969f6522867 Mon Sep 17 00:00:00 2001 From: Tianshan Qu Date: Mon, 11 Dec 2017 19:48:00 +0800 Subject: [PATCH] rgw: fix recursive lock Signed-off-by: Tianshan Qu --- src/rgw/rgw_coroutine.cc | 1 - 1 file changed, 1 deletion(-) 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(); }