Commit 0cd4bd47 authored by Stefan Haberland's avatar Stefan Haberland Committed by Martin Schwidefsky
Browse files

[S390] dasd: call cleanup_cqr with request_queue_lock

__dasd_cleanup_cqr should be called with request_queue_lock held and
__dasd_block_process_erp with queue_lock
Signed-off-by: default avatarStefan Haberland <>
Signed-off-by: default avatarMartin Schwidefsky <>
parent 50afd20f
......@@ -1898,15 +1898,19 @@ restart_cb:
wait_event(dasd_flush_wq, (cqr->status < DASD_CQR_QUEUED));
/* Process finished ERP request. */
if (cqr->refers) {
__dasd_block_process_erp(block, cqr);
/* restart list_for_xx loop since dasd_process_erp
* might remove multiple elements */
goto restart_cb;
/* call the callback function */
cqr->endclk = get_clock();
return rc;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment