Stefan Haberland f2608cd4a3 s390/dasd: fix inability to set a DASD device offline
Fix ref counting for DASD devices leading to an inability to set a
DASD device offline.
Before a worker is scheduled the DASD device driver takes a reference
to the device. If the worker was already scheduled this reference was
never freed.
Fix by giving the reference to the DASD device free when
schedule_work() returns false.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-04-15 12:23:50 +02:00
..
2015-04-13 17:37:33 -07:00
2015-03-20 17:50:07 +01:00
2015-04-01 10:29:05 -07:00
2015-04-14 17:29:55 -07:00
2015-04-13 17:07:21 -07:00
2015-04-14 17:29:55 -07:00
2015-04-08 08:11:51 -06:00
2015-04-14 17:54:22 -07:00