Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115084
b: refs/heads/master
c: 451708d
h: refs/heads/master
v: v3
  • Loading branch information
Andre Noll authored and NeilBrown committed Oct 13, 2008
1 parent 7759dbe commit 176b829
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 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: 481d86c7ebe2ce59dfb6ccb720efa9d3fc1cf7cd
refs/heads/master: 451708d2a439accbce136637ed4f156fc27371ab
23 changes: 0 additions & 23 deletions trunk/drivers/md/linear.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,29 +371,6 @@ static int linear_make_request (struct request_queue *q, struct bio *bio)
static void linear_status (struct seq_file *seq, mddev_t *mddev)
{

#undef MD_DEBUG
#ifdef MD_DEBUG
int j;
linear_conf_t *conf = mddev_to_conf(mddev);
sector_t s = 0;

seq_printf(seq, " ");
for (j = 0; j < mddev->raid_disks; j++)
{
char b[BDEVNAME_SIZE];
s += conf->smallest_size;
seq_printf(seq, "[%s",
bdevname(conf->hash_table[j][0].rdev->bdev,b));

while (s > conf->hash_table[j][0].offset +
conf->hash_table[j][0].size)
seq_printf(seq, "/%s] ",
bdevname(conf->hash_table[j][1].rdev->bdev,b));
else
seq_printf(seq, "] ");
}
seq_printf(seq, "\n");
#endif
seq_printf(seq, " %dk rounding", mddev->chunk_size/1024);
}

Expand Down

0 comments on commit 176b829

Please sign in to comment.