Stefan Haberland 589c74d507 [S390] dasd: fix refcounting.
The function dasd_device_from_cdev returns a reference to the dasd
device and increases the refcount by one. If an exception occurs,
the refcount was not decreased in all cases
e.g. in dasd_discipline_show.
Prevent the offline processing from hang by correcting two functions
to decrease the refcount even if an error occured.

Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2010-02-26 22:37:32 +01:00
..
2010-02-10 12:07:28 -07:00
2010-01-29 21:03:09 +01:00
2010-02-11 13:59:42 -08:00
2010-02-02 18:11:21 -08:00
2010-02-26 22:37:32 +01:00
2010-02-03 16:55:20 -05:00
2010-01-13 10:01:35 +00:00