Fix kernel patch

This commit is contained in:
Neil Brown 2008-07-12 20:27:39 +10:00
parent ec9688ca70
commit d4da74fc9c
1 changed files with 1 additions and 1 deletions

View File

@ -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