Stefan Weinhuber b2b0154e49 s390/dasd: fix memory leak caused by dangling references to request_queue
After the call to del_gendisk, the gendisk still holds a reference to
its request_queue. We must not modify the gendisks queue pointer
before the put_disk call, or the gendisk_release function cannot
release the reference and the memory for the request_queue structure
is lost.

Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2013-12-02 15:31:06 +01:00
..
2013-11-27 01:03:27 +01:00
2013-11-27 13:55:16 -05:00
2013-11-19 15:53:02 -05:00
2013-11-27 01:03:43 +01:00
2013-11-28 09:57:46 -08:00
2013-11-27 01:03:27 +01:00
2013-11-19 01:06:28 +01:00
2013-11-15 14:05:15 -08:00
2013-11-18 15:35:09 -08:00