]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Assemble: ignore unknown devices not listed on command line.
authorNeilBrown <neilb@suse.de>
Tue, 1 Feb 2011 02:07:07 +0000 (13:07 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 1 Feb 2011 02:07:07 +0000 (13:07 +1100)
commitd438679977ea49a23103d2cfa1014a075e9f0770
tree7e698eccc8bfafde914c6e4f41aa2830d3cf18e0
parent3c7b4a25950aac37edfef59e7f9f0b57eab18d14
Assemble: ignore unknown devices not listed on command line.

If we find a device that has not superblock, we currently fail
unless in auto_assem mode.
However we really should only fail if the device was explicitly listed
in the arg list.  So add a test for that.

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