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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:29 EST