s390/dasd: fix list corruption for sleep_on requests
authorStefan Haberland <stefan.haberland@de.ibm.com>
Mon, 24 Nov 2014 09:59:44 +0000 (10:59 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 28 Nov 2014 08:47:36 +0000 (09:47 +0100)
commit932f0549f872cde022eed200910ee3291b1d3c69
tree0dcb57d16b8fcb88a1af654cad25fa3da364abc7
parent2c17124bf33f0d9450375610ff79ad83531b5bfe
s390/dasd: fix list corruption for sleep_on requests

Fix race for sleep_on requests leading to list corruption.
The SLEEP_ON_END_TAG is set during CQR clean up. Remove it from
interrupt handler to avoid the CQR from being cleared when it is
still in the device_queue.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/dasd.c