aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r--drivers/md/multipath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c
index 0ed1005afb58..87accf74e4b4 100644
--- a/drivers/md/multipath.c
+++ b/drivers/md/multipath.c
@@ -502,7 +502,7 @@ static int multipath_run (mddev_t *mddev)
502 /* 502 /*
503 * Ok, everything is just fine now 503 * Ok, everything is just fine now
504 */ 504 */
505 mddev->array_sectors = mddev->size * 2; 505 mddev->array_sectors = mddev->dev_sectors;
506 506
507 mddev->queue->unplug_fn = multipath_unplug; 507 mddev->queue->unplug_fn = multipath_unplug;
508 mddev->queue->backing_dev_info.congested_fn = multipath_congested; 508 mddev->queue->backing_dev_info.congested_fn = multipath_congested;