patch-2.3.32 linux/drivers/block/md.c
Next file: linux/drivers/block/nbd.c
Previous file: linux/drivers/block/loop.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Dec 12 23:00:35 1999
- Orig file:
v2.3.31/linux/drivers/block/md.c
- Orig date:
Tue Dec 7 09:32:43 1999
diff -u --recursive --new-file v2.3.31/linux/drivers/block/md.c linux/drivers/block/md.c
@@ -761,7 +761,7 @@
}
}
-static void do_md_request (void)
+static void do_md_request (request_queue_t * q)
{
printk ("Got md request, not good...");
return;
@@ -1274,8 +1274,7 @@
return (-1);
}
- blk_dev[MD_MAJOR].request_fn=DEVICE_REQUEST;
- blk_dev[MD_MAJOR].current_request=NULL;
+ blk_init_queue(BLK_DEFAULT_QUEUE(MAJOR_NR), DEVICE_REQUEST);
read_ahead[MD_MAJOR]=INT_MAX;
memset(md_dev, 0, MAX_MD_DEV * sizeof (struct md_dev));
md_gendisk.next=gendisk_head;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)