]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Assemble: split out select_devices function.
authorNeilBrown <neilb@suse.de>
Thu, 18 Oct 2012 04:31:20 +0000 (15:31 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 18 Oct 2012 04:31:20 +0000 (15:31 +1100)
commit95425a89fc31ea0e98f536ef0b8616a0ec317af2
treef7a34a0f847cf63c2fd1c200c06281a966d085b6
parenta994592d75e64b50201121f6357ea73a0b7d4e6e
Assemble: split out select_devices function.

Assemble() is way too big.
This patch starts cleaning it up by pulling the 'select_devices()'
function.  This examines the device to make sure they all belong to
one array, or select those that do (depending on exact use case).

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