diff options
-rw-r--r-- | drivers/md/raid0.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/md/raid0.c b/drivers/md/raid0.c index e79e1a538d44..c111105fc2dc 100644 --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c | |||
@@ -472,7 +472,7 @@ bad_map: | |||
472 | bio_io_error(bio); | 472 | bio_io_error(bio); |
473 | return 0; | 473 | return 0; |
474 | } | 474 | } |
475 | 475 | ||
476 | static void raid0_status (struct seq_file *seq, mddev_t *mddev) | 476 | static void raid0_status (struct seq_file *seq, mddev_t *mddev) |
477 | { | 477 | { |
478 | #undef MD_DEBUG | 478 | #undef MD_DEBUG |
@@ -480,18 +480,18 @@ static void raid0_status (struct seq_file *seq, mddev_t *mddev) | |||
480 | int j, k, h; | 480 | int j, k, h; |
481 | char b[BDEVNAME_SIZE]; | 481 | char b[BDEVNAME_SIZE]; |
482 | raid0_conf_t *conf = mddev_to_conf(mddev); | 482 | raid0_conf_t *conf = mddev_to_conf(mddev); |
483 | 483 | ||
484 | h = 0; | 484 | h = 0; |
485 | for (j = 0; j < conf->nr_strip_zones; j++) { | 485 | for (j = 0; j < conf->nr_strip_zones; j++) { |
486 | seq_printf(seq, " z%d", j); | 486 | seq_printf(seq, " z%d", j); |
487 | if (conf->hash_table[h] == conf->strip_zone+j) | 487 | if (conf->hash_table[h] == conf->strip_zone+j) |
488 | seq_printf("(h%d)", h++); | 488 | seq_printf(seq, "(h%d)", h++); |
489 | seq_printf(seq, "=["); | 489 | seq_printf(seq, "=["); |
490 | for (k = 0; k < conf->strip_zone[j].nb_dev; k++) | 490 | for (k = 0; k < conf->strip_zone[j].nb_dev; k++) |
491 | seq_printf (seq, "%s/", bdevname( | 491 | seq_printf(seq, "%s/", bdevname( |
492 | conf->strip_zone[j].dev[k]->bdev,b)); | 492 | conf->strip_zone[j].dev[k]->bdev,b)); |
493 | 493 | ||
494 | seq_printf (seq, "] zo=%d do=%d s=%d\n", | 494 | seq_printf(seq, "] zo=%d do=%d s=%d\n", |
495 | conf->strip_zone[j].zone_offset, | 495 | conf->strip_zone[j].zone_offset, |
496 | conf->strip_zone[j].dev_offset, | 496 | conf->strip_zone[j].dev_offset, |
497 | conf->strip_zone[j].size); | 497 | conf->strip_zone[j].size); |