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 1778104e106..7145cd150f7 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -3395,6 +3395,7 @@ static int set_array_info(mddev_t * mddev, mdu_array_info_t *info) | |||
3395 | mddev->ctime = get_seconds(); | 3395 | mddev->ctime = get_seconds(); |
3396 | 3396 | ||
3397 | mddev->level = info->level; | 3397 | mddev->level = info->level; |
3398 | mddev->clevel[0] = 0; | ||
3398 | mddev->size = info->size; | 3399 | mddev->size = info->size; |
3399 | mddev->raid_disks = info->raid_disks; | 3400 | mddev->raid_disks = info->raid_disks; |
3400 | /* don't set md_minor, it is determined by which /dev/md* was | 3401 | /* don't set md_minor, it is determined by which /dev/md* was |