]> git.ipfire.org Git - thirdparty/mdadm.git/commit
FIX: Reset disk state if disk is missing
authorKrzysztof Wojcik <krzysztof.wojcik@intel.com>
Thu, 10 Mar 2011 06:07:04 +0000 (17:07 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 10 Mar 2011 06:07:04 +0000 (17:07 +1100)
commit3275e05ec139728e23afde2a04f1adc5a4be473b
tree58753a9e2a8847938b4d1e8b0e51c9972d725435
parentabe7250bc70d938f21ccdf0d7686feb39561fe7f
FIX: Reset disk state if disk is missing

If we can't read actual disk state, it shoud be initiated
to 0.
Overwise it may be out of date value resulting false action
later in code (e.g. set disk to improper state).

Signed-off-by: Krzysztof Wojcik <krzysztof.wojcik@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
monitor.c