lkml.org 
[lkml]   [2001]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject2.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);
\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.022 / U:1.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site