| Kernel v2.4.1 /drivers/md/raid5.c |
|---|
 2.4.1
 drivers
 md
 raid5.c
diff -u --recursive --new-file v2.4.0/linux/drivers/md/raid5.c linux/drivers/md/raid5.c
--- v2.4.0/linux/drivers/md/raid5.c Thu Jan 4 12:50:17 2001
+++ linux/drivers/md/raid5.c Sun Jan 21 15:41:02 2001
@@ -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];
|