[patch] 2.4.10-pre13: put_gendisk compile error

From: Eyal Lebedinsky (eyal@eyal.emu.id.au)
Date: Fri Sep 21 2001 - 07:52:32 EST


It should be removed from the offending programs. Same as pre12.

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.anu.edu.au/eyal/>

--- linux/drivers/ide/hptraid.c Wed Sep 19 22:01:42 2001 +++ linux-2.4-ac/drivers/ide/hptraid.c Wed Sep 19 08:24:40 2001 @@ -314,7 +314,6 @@ if (gd!=NULL) { for (j=1+(minor<<gd->minor_shift);j<((minor+1)<<gd->minor_shift);j++) gd->part[j].nr_sects=0; - put_gendisk(gd); } } raid[device].disk[i].device = MKDEV(major,minor); --- linux/drivers/ide/pdcraid.c Wed Sep 19 22:01:42 2001 +++ linux-2.4-ac/drivers/ide/pdcraid.c Wed Sep 19 08:24:40 2001 @@ -321,7 +321,6 @@ if (gd!=NULL) { for (j=1+(minor<<gd->minor_shift);j<((minor+1)<<gd->minor_shift);j++) gd->part[j].nr_sects=0; - put_gendisk(gd); } } raid[device].disk[i].device = MKDEV(major,minor);

- 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 : Sun Sep 23 2001 - 21:00:43 EST