Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.1 /drivers/md/raid5.c

Filename:/drivers/md/raid5.c
Lines Added:5
Lines Deleted:0
Also changed in: (Previous) 2.4.1-pre12  2.4.1-pre11  2.4.1-pre10  2.4.0-ac12  2.4.0-ac11  2.4.0-ac10 
(Following) 2.4.1-ac1  2.4.1-ac2  2.4.1-ac3  2.4.1-ac4  2.4.1-ac5  2.4.1-ac6 

Location
[  2.4.1
  [  drivers
    [  md
       o  raid5.c

Patch

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];


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.