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