diff options
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 9ba73074df04..970eb03ec6c0 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -3555,6 +3555,7 @@ static int raid5_start_reshape(mddev_t *mddev) | |||
3555 | set_bit(In_sync, &rdev->flags); | 3555 | set_bit(In_sync, &rdev->flags); |
3556 | conf->working_disks++; | 3556 | conf->working_disks++; |
3557 | added_devices++; | 3557 | added_devices++; |
3558 | rdev->recovery_offset = 0; | ||
3558 | sprintf(nm, "rd%d", rdev->raid_disk); | 3559 | sprintf(nm, "rd%d", rdev->raid_disk); |
3559 | sysfs_create_link(&mddev->kobj, &rdev->kobj, nm); | 3560 | sysfs_create_link(&mddev->kobj, &rdev->kobj, nm); |
3560 | } else | 3561 | } else |