Commit 91cb2bb4 authored by Martin Schwidefsky's avatar Martin Schwidefsky Committed by Linus Torvalds

[PATCH] s390: dasd driver.

Remove put_disk from dasd_destroy_partitions. This is done in dasd_free_device.
parent c01b325f
......@@ -9,7 +9,7 @@
*
* Dealing with devices registered to multiple major numbers.
*
* $Revision: 1.29 $
* $Revision: 1.31 $
*/
#include <linux/config.h>
......@@ -200,7 +200,6 @@ void
dasd_destroy_partitions(struct dasd_device * device)
{
del_gendisk(device->gdp);
put_disk(device->gdp);
}
int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment