patch-1.3.42 linux/drivers/block/ll_rw_blk.c

Next file: linux/drivers/cdrom/mcd.c
Previous file: linux/drivers/block/floppy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.41/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -104,7 +104,7 @@
  * force the transfer to start only after we have put all the requests
  * on the list.
  */
-static void plug_device(struct blk_dev_struct * dev, struct request * plug)
+static inline void plug_device(struct blk_dev_struct * dev, struct request * plug)
 {
 	unsigned long flags;
 
@@ -121,7 +121,7 @@
 /*
  * remove the plug and let it rip..
  */
-static void unplug_device(struct blk_dev_struct * dev)
+static inline void unplug_device(struct blk_dev_struct * dev)
 {
 	struct request * req;
 	unsigned long flags;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this