
--- ./drivers/md/raid5.c        2001/01/21 04:01:57     1.1
+++ ./drivers/md/raid5.c        2001/01/21 20:36:05     1.2
@@ -714,6 +714,11 @@
                break;
        }
        spin_unlock_irq(&conf->device_lock);
+       if (count>1) {
+               xor_block(count, bh_ptr);
+               count = 1;
+       }
+       
        for (i = disks; i--;)
                if (chosen[i]) {
                        struct buffer_head *bh = sh->bh_cache[i];

