Messages in this thread Patch in this message |  | | Date | Thu, 20 Sep 2001 08:51:29 +1000 | From | Eyal Lebedinsky <> | Subject | 2.4.10-pre12 ide raid undefined patch |
| |
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);
|  |