]> git.ipfire.org Git - thirdparty/mdadm.git/commit
incr/spare: recheck allowed action for each metadata.
authorNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 09:58:06 +0000 (20:58 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Nov 2010 09:58:06 +0000 (20:58 +1100)
commit625b25071bb6db4d1c019d5bab0344d82d5ae4c4
tree450e148e56b5dced5467e54a192ade9cfffbd9e5
parent6e57f80a9005ab354ce7602b3ce0c7d7a0d239cb
incr/spare: recheck allowed action for each metadata.

The current act_spare tests only test if it is allowed for some
metadata.
As we check each array or partitioning type, we need to double-check
that sparing is allowed for that array or partitioning type.

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