]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Assemble: fix some recently introduced bugs.
authorNeilBrown <neilb@suse.de>
Wed, 10 Mar 2010 00:21:26 +0000 (11:21 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 10 Mar 2010 00:21:40 +0000 (11:21 +1100)
commit1ff98339283645a20c980d540f6c4d82693e7daf
tree0b1b523af2d8c6b4ca67ff5f380e5da954d417e7
parentc1474842521823e2bc21d4add15a64bf5a9e2305
Assemble: fix some recently introduced bugs.

Found during testing:
 - cannot check metadata for homehost before loading metadata.
 - As 1.x metadata can has a state 'rebuilding' between
   'spare' and 'ok', we need to include that in our calculations.

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c