patch-2.4.27 linux-2.4.27/drivers/md/raid5.c

Next file: linux-2.4.27/drivers/media/video/cpia.c
Previous file: linux-2.4.27/drivers/macintosh/nvram.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/md/raid5.c linux-2.4.27/drivers/md/raid5.c
@@ -950,7 +950,7 @@
 	/* Now we might consider reading some blocks, either to check/generate
 	 * parity, or to satisfy requests
 	 */
-	if (to_read || (syncing && (uptodate+failed < disks))) {
+	if (to_read || (syncing && (uptodate < disks))) {
 		for (i=disks; i--;) {
 			bh = sh->bh_cache[i];
 			if (!buffer_locked(bh) && !buffer_uptodate(bh) &&

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