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
- Lines: 9
- Date:
2004-08-07 16:26:04.865355447 -0700
- Orig file:
linux-2.4.26/drivers/md/raid5.c
- Orig date:
2003-08-25 04:44:42.000000000 -0700
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)