Skip to contentSkip to conversation

s390 (3/6): dasd driver.

PATCH New Martin Schwidefsky 1 participant 1 message Jul 17, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390 (3/6): dasd driver.

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(-)
drivers/s390/block/dasd_genhd.c +1 -2
diff -urN linux-2.6.0-test1/drivers/s390/block/dasd_genhd.c linux-2.6.0-s390/drivers/s390/block/dasd_genhd.c
@@ -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