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 171ff41b52b0..a6260f0e3b9e 100644
--- a/drivers/md/multipath.c
+++ b/drivers/md/multipath.c
@@ -501,7 +501,7 @@ static int multipath_run (mddev_t *mddev)
501 mdname(mddev)); 501 mdname(mddev));
502 goto out_free_conf; 502 goto out_free_conf;
503 } 503 }
504 mddev->degraded = conf->raid_disks = conf->working_disks; 504 mddev->degraded = conf->raid_disks - conf->working_disks;
505 505
506 conf->pool = mempool_create_kzalloc_pool(NR_RESERVED_BUFS, 506 conf->pool = mempool_create_kzalloc_pool(NR_RESERVED_BUFS,
507 sizeof(struct multipath_bh)); 507 sizeof(struct multipath_bh));