diff options
Diffstat (limited to 'drivers')
-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 deccd560c0de..20ca80b7dc20 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 */ |