commit | b2b0154e49e2b9470ae0d082128b5549cbe71152 | [log] [tgz] |
---|---|---|
author | Stefan Weinhuber <wein@de.ibm.com> | Fri Nov 29 15:37:20 2013 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Mon Dec 02 15:31:06 2013 +0100 |
tree | 6259d0944460c1597ed0406436d5aea88a38a84f | |
parent | af91706d5ddecb4a9858cca9e90d463037cfd498 [diff] |
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>