patch-1.3.28 linux/drivers/block/mcd.c

Next file: linux/drivers/block/mcdx.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.27/linux/drivers/block/mcd.c linux/drivers/block/mcd.c
@@ -139,7 +139,7 @@
 /* #define DOUBLE_QUICK_ONLY */
 
 #define CURRENT_VALID \
-  (CURRENT && MAJOR(CURRENT -> dev) == MAJOR_NR && CURRENT -> cmd == READ \
+  (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
    && CURRENT -> sector != -1)
 #define MFL_STATUSorDATA (MFL_STATUS | MFL_DATA)
 #define MCD_BUF_SIZ 16
@@ -213,7 +213,7 @@
 
  
 static int
-check_mcd_change(dev_t full_dev)
+check_mcd_change(kdev_t full_dev)
 {
    int retval, target;
 

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