diff options
Diffstat (limited to 'drivers/md/raid0.c')
-rw-r--r-- | drivers/md/raid0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index bb0df6a18443..6f7e538c8763 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c | |||
@@ -306,7 +306,7 @@ static int raid0_run (mddev_t *mddev) | |||
306 | goto out_free_conf; | 306 | goto out_free_conf; |
307 | 307 | ||
308 | /* calculate array device size */ | 308 | /* calculate array device size */ |
309 | mddev->array_sectors = raid0_size(mddev, 0, 0); | 309 | md_set_array_sectors(mddev, raid0_size(mddev, 0, 0)); |
310 | 310 | ||
311 | printk(KERN_INFO "raid0 : md_size is %llu sectors.\n", | 311 | printk(KERN_INFO "raid0 : md_size is %llu sectors.\n", |
312 | (unsigned long long)mddev->array_sectors); | 312 | (unsigned long long)mddev->array_sectors); |