]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Assemble: split out "start_array()" function.
authorNeilBrown <neilb@suse.de>
Mon, 22 Oct 2012 06:23:11 +0000 (17:23 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 22 Oct 2012 06:23:11 +0000 (17:23 +1100)
commitddc1b11fb5fa39c78814a0197ae96cca775b29d2
treee761463f0291bfde2b26f7b715ee2fdc08cc9c39
parent71ec707658d88d3420a6dab9d527c0847c0241ed
Assemble: split out "start_array()" function.

Apart from code movement, there is a small functional change here.
If the array is not successfully started, it is stopped.
Previously we would sometimes leave the array in a partially-assembled
but inactive state.
This just causes confusion.
"--incremental" can be used to partially assemble arrays.

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