mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 04:32:41 +00:00
md: fix a bug in some never-used code.
http://bugzilla.kernel.org/show_bug.cgi?id=3277 There is a seq_printf here that isn't being passed a 'seq'. Howeve as the code is inside #ifdef MD_DEBUG, nobody noticed. Also remove some extra spaces. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5ebf2c1260
commit
8299d7f7c0
1 changed files with 5 additions and 5 deletions
|
@ -485,13 +485,13 @@ static void raid0_status (struct seq_file *seq, mddev_t *mddev)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue