Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8299d7f7 authored by NeilBrown's avatar NeilBrown Committed by Linus Torvalds
Browse files

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: default avatarNeil Brown <neilb@suse.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5ebf2c12
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -485,7 +485,7 @@ 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(