Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 70741
b: refs/heads/master
c: 8299d7f
h: refs/heads/master
i:
  70739: f28fa6f
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Oct 17, 2007
1 parent e72d995 commit 01a5369
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ebf2c1260705a2ce51ad19af33059f08211579d
refs/heads/master: 8299d7f7c067a30a67ad359d416128c4ff57dcd1
10 changes: 5 additions & 5 deletions trunk/drivers/md/raid0.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,26 +472,26 @@ static int raid0_make_request (struct request_queue *q, struct bio *bio)
bio_io_error(bio);
return 0;
}

static void raid0_status (struct seq_file *seq, mddev_t *mddev)
{
#undef MD_DEBUG
#ifdef MD_DEBUG
int j, k, h;
char b[BDEVNAME_SIZE];
raid0_conf_t *conf = mddev_to_conf(mddev);

h = 0;
for (j = 0; j < conf->nr_strip_zones; j++) {
seq_printf(seq, " z%d", j);
if (conf->hash_table[h] == conf->strip_zone+j)
seq_printf("(h%d)", h++);
seq_printf(seq, "(h%d)", h++);
seq_printf(seq, "=[");
for (k = 0; k < conf->strip_zone[j].nb_dev; k++)
seq_printf (seq, "%s/", bdevname(
seq_printf(seq, "%s/", bdevname(
conf->strip_zone[j].dev[k]->bdev,b));

seq_printf (seq, "] zo=%d do=%d s=%d\n",
seq_printf(seq, "] zo=%d do=%d s=%d\n",
conf->strip_zone[j].zone_offset,
conf->strip_zone[j].dev_offset,
conf->strip_zone[j].size);
Expand Down

0 comments on commit 01a5369

Please sign in to comment.