patch-2.2.18 linux/drivers/block/raid1.c
Next file: linux/drivers/block/rd.c
Previous file: linux/drivers/block/q40ide.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Oct 28 11:12:10 2000
- Orig file:
v2.2.17/drivers/block/raid1.c
- Orig date:
Fri Apr 21 12:45:50 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/block/raid1.c linux/drivers/block/raid1.c
@@ -209,7 +209,7 @@
PRINTK(("raid1_make_request().\n"));
while (!( /* FIXME: now we are rather fault tolerant than nice */
- r1_bh = kmalloc (sizeof (struct raid1_bh), GFP_KERNEL)
+ r1_bh = kmalloc (sizeof (struct raid1_bh), GFP_BUFFER)
) )
{
printk ("raid1_make_request(#1): out of memory\n");
@@ -301,7 +301,7 @@
* of this function to grok the difference ;)
*/
while (!( /* FIXME: now we are rather fault tolerant than nice */
- mirror_bh[i] = kmalloc (sizeof (struct buffer_head), GFP_KERNEL)
+ mirror_bh[i] = kmalloc (sizeof (struct buffer_head), GFP_BUFFER)
) )
{
printk ("raid1_make_request(#2): out of memory\n");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)