patch-2.3.14 linux/drivers/block/raid1.c

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

diff -u --recursive --new-file v2.3.13/linux/drivers/block/raid1.c linux/drivers/block/raid1.c
@@ -159,7 +159,7 @@
 	}
 
 	/*
-	 * WRITE or WRITEA.
+	 * WRITE.
 	 */
 	PRINTK(("raid1_end_request(), write branch.\n"));
 
@@ -215,15 +215,14 @@
 	memset (r1_bh, 0, sizeof (struct raid1_bh));
 
 /*
- * make_request() can abort the operation when READA or WRITEA are being
+ * make_request() can abort the operation when READA is being
  * used and no empty request is available.
  *
  * Currently, just replace the command with READ/WRITE.
  */
 	if (rw == READA) rw = READ;
-	if (rw == WRITEA) rw = WRITE;
 
-	if (rw == WRITE || rw == WRITEA)
+	if (rw == WRITE)
 		mark_buffer_clean(bh);		/* Too early ? */
 
 /*
@@ -269,7 +268,7 @@
 	}
 
 	/*
-	 * WRITE or WRITEA.
+	 * WRITE.
 	 */
 	PRINTK(("raid1_make_request(n=%d), write branch.\n",n));
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)