diff options
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r-- | drivers/md/raid10.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index 5bf1b24ae80..ad153b24ea0 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c @@ -2193,7 +2193,7 @@ static int run(mddev_t *mddev) /* * Ok, everything is just fine now */ - mddev->array_sectors = raid10_size(mddev, 0, 0); + md_set_array_sectors(mddev, raid10_size(mddev, 0, 0)); mddev->resync_max_sectors = mddev->array_sectors; mddev->queue->unplug_fn = raid10_unplug; |