summaryrefslogtreecommitdiff
path: root/kernel-patch-2.6.25
diff options
context:
space:
mode:
Diffstat (limited to 'kernel-patch-2.6.25')
-rw-r--r--kernel-patch-2.6.252
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel-patch-2.6.25 b/kernel-patch-2.6.25
index d42bf314..23290078 100644
--- a/kernel-patch-2.6.25
+++ b/kernel-patch-2.6.25
@@ -121,7 +121,7 @@ diff .prev/drivers/md/raid10.c ./drivers/md/raid10.c
int mirror;
mirror_info_t *p;
+ int first = 0;
-+ int last = mddev->raid_disks;
++ int last = mddev->raid_disks - 1;
if (mddev->recovery_cp < MaxSector)
/* only hot-add to in-sync arrays, as recovery is