]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
make --update=homehost work again
authorNeilBrown <neilb@suse.de>
Thu, 7 Feb 2013 00:51:21 +0000 (11:51 +1100)
committerNeilBrown <neilb@suse.de>
Sun, 10 Feb 2013 04:40:42 +0000 (15:40 +1100)
commitdef1133297d8f619c8fd644d6d8c6633ddcaa929
tree5a8375edf867479695e2aeb8d9d170e8d742b175
parent9698df15d9efaa32d30e17ff839315cedf1e7984
make --update=homehost work again

Commit 1e2b276535cea41c348292a019bdda8a58cb1679 (Report error in --update
string is not recognised) broke homehost updating functionality because it
depended on each string comparison being done even after we already found
a match.  Make it work again by restructuring code.

Reported-by: (and original version by) Justin Maggard <jmaggard10@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super0.c
super1.c