Remove put_disk from dasd_destroy_partitions. This is done in dasd_free_device.
diffstat:
drivers/s390/block/dasd_genhd.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -urN linux-2.6.0-test1/drivers/s390/block/dasd_genhd.c linux-2.6.0-s390/drivers/s390/block/dasd_genhd.c
--- linux-2.6.0-test1/drivers/s390/block/dasd_genhd.c Mon Jul 14 05:36:47 2003
+++ linux-2.6.0-s390/drivers/s390/block/dasd_genhd.c Thu Jul 17 17:27:31 2003
@@ -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 @@
dasd_destroy_partitions(struct dasd_device * device)
{
del_gendisk(device->gdp);
- put_disk(device->gdp);
}
int