diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/linear.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/md/linear.c b/drivers/md/linear.c index 632898f3bc98..01ed03a0c7ee 100644 --- a/drivers/md/linear.c +++ b/drivers/md/linear.c | |||
@@ -371,29 +371,6 @@ static int linear_make_request (struct request_queue *q, struct bio *bio) | |||
371 | static void linear_status (struct seq_file *seq, mddev_t *mddev) | 371 | static void linear_status (struct seq_file *seq, mddev_t *mddev) |
372 | { | 372 | { |
373 | 373 | ||
374 | #undef MD_DEBUG | ||
375 | #ifdef MD_DEBUG | ||
376 | int j; | ||
377 | linear_conf_t *conf = mddev_to_conf(mddev); | ||
378 | sector_t s = 0; | ||
379 | |||
380 | seq_printf(seq, " "); | ||
381 | for (j = 0; j < mddev->raid_disks; j++) | ||
382 | { | ||
383 | char b[BDEVNAME_SIZE]; | ||
384 | s += conf->smallest_size; | ||
385 | seq_printf(seq, "[%s", | ||
386 | bdevname(conf->hash_table[j][0].rdev->bdev,b)); | ||
387 | |||
388 | while (s > conf->hash_table[j][0].offset + | ||
389 | conf->hash_table[j][0].size) | ||
390 | seq_printf(seq, "/%s] ", | ||
391 | bdevname(conf->hash_table[j][1].rdev->bdev,b)); | ||
392 | else | ||
393 | seq_printf(seq, "] "); | ||
394 | } | ||
395 | seq_printf(seq, "\n"); | ||
396 | #endif | ||
397 | seq_printf(seq, " %dk rounding", mddev->chunk_size/1024); | 374 | seq_printf(seq, " %dk rounding", mddev->chunk_size/1024); |
398 | } | 375 | } |
399 | 376 | ||