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 5bf1b24ae802..ad153b24ea0d 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c | |||
@@ -2193,7 +2193,7 @@ static int run(mddev_t *mddev) | |||
2193 | /* | 2193 | /* |
2194 | * Ok, everything is just fine now | 2194 | * Ok, everything is just fine now |
2195 | */ | 2195 | */ |
2196 | mddev->array_sectors = raid10_size(mddev, 0, 0); | 2196 | md_set_array_sectors(mddev, raid10_size(mddev, 0, 0)); |
2197 | mddev->resync_max_sectors = mddev->array_sectors; | 2197 | mddev->resync_max_sectors = mddev->array_sectors; |
2198 | 2198 | ||
2199 | mddev->queue->unplug_fn = raid10_unplug; | 2199 | mddev->queue->unplug_fn = raid10_unplug; |