diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/raid5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 39374230a463..659151e5eda4 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -5000,7 +5000,7 @@ static int raid5_start_reshape(mddev_t *mddev) | |||
5000 | spin_unlock_irqrestore(&conf->device_lock, flags); | 5000 | spin_unlock_irqrestore(&conf->device_lock, flags); |
5001 | } | 5001 | } |
5002 | mddev->raid_disks = conf->raid_disks; | 5002 | mddev->raid_disks = conf->raid_disks; |
5003 | mddev->reshape_position = 0; | 5003 | mddev->reshape_position = conf->reshape_progress; |
5004 | set_bit(MD_CHANGE_DEVS, &mddev->flags); | 5004 | set_bit(MD_CHANGE_DEVS, &mddev->flags); |
5005 | 5005 | ||
5006 | clear_bit(MD_RECOVERY_SYNC, &mddev->recovery); | 5006 | clear_bit(MD_RECOVERY_SYNC, &mddev->recovery); |