Reshape: use systemd to continue containers as well as native arrays.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2014-05-20 16:59:58 +10:00
parent b0b67933dc
commit 4e0eb0dbbd
1 changed files with 4 additions and 0 deletions

4
Grow.c
View File

@ -3475,6 +3475,10 @@ int reshape_container(char *container, char *devname,
*/
ping_monitor(container);
if (!forked && !check_env("MDADM_NO_SYSTEMCTL"))
if (continue_via_systemd(container))
return 0;
switch (forked ? 0 : fork()) {
case -1: /* error */
perror("Cannot fork to complete reshape\n");