diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/md.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index deccd560c0d..20ca80b7dc2 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -1689,6 +1689,7 @@ static int do_md_run(mddev_t * mddev) | |||
1689 | mddev->pers = pers[pnum]; | 1689 | mddev->pers = pers[pnum]; |
1690 | spin_unlock(&pers_lock); | 1690 | spin_unlock(&pers_lock); |
1691 | 1691 | ||
1692 | mddev->recovery = 0; | ||
1692 | mddev->resync_max_sectors = mddev->size << 1; /* may be over-ridden by personality */ | 1693 | mddev->resync_max_sectors = mddev->size << 1; /* may be over-ridden by personality */ |
1693 | 1694 | ||
1694 | /* before we start the array running, initialise the bitmap */ | 1695 | /* before we start the array running, initialise the bitmap */ |