diff options
Diffstat (limited to 'drivers/md/raid0.c')
-rw-r--r-- | drivers/md/raid0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index 6f7e538c8763..c08d7559be55 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c | |||
@@ -313,7 +313,7 @@ static int raid0_run (mddev_t *mddev) | |||
313 | printk(KERN_INFO "raid0 : conf->spacing is %llu sectors.\n", | 313 | printk(KERN_INFO "raid0 : conf->spacing is %llu sectors.\n", |
314 | (unsigned long long)conf->spacing); | 314 | (unsigned long long)conf->spacing); |
315 | { | 315 | { |
316 | sector_t s = mddev->array_sectors; | 316 | sector_t s = raid0_size(mddev, 0, 0); |
317 | sector_t space = conf->spacing; | 317 | sector_t space = conf->spacing; |
318 | int round; | 318 | int round; |
319 | conf->sector_shift = 0; | 319 | conf->sector_shift = 0; |