Merge pull request #19430 from tianshan/fix_recursive_lock

rgw: fix recursive lock

Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
Yuri Weinstein 2017-12-12 08:22:47 -08:00 committed by GitHub
commit 66bc71d646
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -439,7 +439,6 @@ void RGWCoroutinesManager::handle_unblocked_stack(set<RGWCoroutinesStack *>& con
if (!stack->is_done()) {
scheduled_stacks.push_back(stack);
} else {
RWLock::WLocker wl(lock);
context_stacks.erase(stack);
stack->put();
}