2.4.10-pre12 ide raid undefined patch

From: Eyal Lebedinsky (eyal@eyal.emu.id.au)
Date: Wed Sep 19 2001 - 17:51:29 EST


Glancing at the -ac tree it seems that put_gendisk needs to be
removed from the recently added IDE RAID drivers.

--
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:34 EST