diff options
Diffstat (limited to 'drivers/md/faulty.c')
-rw-r--r-- | drivers/md/faulty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/faulty.c b/drivers/md/faulty.c index 7b66b9fca29d..18793c137278 100644 --- a/drivers/md/faulty.c +++ b/drivers/md/faulty.c | |||
@@ -301,7 +301,7 @@ static int run(mddev_t *mddev) | |||
301 | list_for_each_entry(rdev, &mddev->disks, same_set) | 301 | list_for_each_entry(rdev, &mddev->disks, same_set) |
302 | conf->rdev = rdev; | 302 | conf->rdev = rdev; |
303 | 303 | ||
304 | mddev->array_sectors = mddev->size * 2; | 304 | mddev->array_sectors = mddev->dev_sectors; |
305 | mddev->private = conf; | 305 | mddev->private = conf; |
306 | 306 | ||
307 | reconfig(mddev, mddev->layout, -1); | 307 | reconfig(mddev, mddev->layout, -1); |