]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Manage.c
Don't attempt a re-add if the device is marked as faulty.
authorNeilBrown <neilb@suse.de>
Tue, 8 Dec 2009 06:26:31 +0000 (17:26 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 8 Dec 2009 06:26:31 +0000 (17:26 +1100)
commit5c64fcb5358953883ae6b72e584bf7dbbae2b71f
tree65d2454be6fefcd44e8e91b99e284d92cb6f3c1e
parent034b203a4754da7615d7b16bafeabfc4115dabea
Don't attempt a re-add if the device is marked as faulty.

If a device is marked as faulty, then a re-add will cause it to be
added as a faulty drive, which is not what it wanted.
So just refuse to try to re-add a device which is marked 'faulty'.

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