]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Allow explicitly listed spared to be included by default.
authorNeilBrown <neilb@suse.de>
Tue, 1 Feb 2011 03:44:02 +0000 (14:44 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 1 Feb 2011 03:44:02 +0000 (14:44 +1100)
commita5d10dcec81b46f68d18408dcdced4235df99c55
tree6ce53313cb8e24a0434dc579c21867feab3501d1
parente5508b361d970a7657c9f81303223fa114bdcd9b
Allow explicitly listed spared to be included by default.

When the metadata doesn't identify which array a spare belongs to
we normally require an explicit domain match to connect a spare
with an array.
However when the spare is explicitly listed in argv, it should be
safe to include as long as there is no domain conflict.

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