]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Incremental.c
Incr: fix breakage in count_active.
authorNeilBrown <neilb@suse.de>
Wed, 15 Jun 2011 02:21:26 +0000 (12:21 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 15 Jun 2011 02:21:26 +0000 (12:21 +1000)
commit47c7a4be1436a8cae2fefc05bb227712d8b6f4ec
tree0cc5768e44ed42ee915b8e2f50680709c275f218
parent19482bcc403cf785509a078dcb77f104a710b71d
Incr: fix breakage in count_active.

If the second device is much newer than the first, but has a lower
raid_disk number, we clear 'avail' badly and don't set up
'best' properly.

Fix these things.

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