]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Assemble.c
Grow: Do not fork via systemd if freeze_reshape is set
[thirdparty/mdadm.git] / Assemble.c
index 8977928534b6efb884b68824510caeac243eac17..a57d384daeff06b77d75580f9ad86723233c26f4 100644 (file)
@@ -1044,7 +1044,7 @@ static int start_array(int mdfd,
                                           "array_state", "readonly");
                        if (rv == 0)
                                rv = Grow_continue(mdfd, st, content,
-                                                  c->backup_file,
+                                                  c->backup_file, 0,
                                                   c->freeze_reshape);
                } else if (c->readonly &&
                           sysfs_attribute_available(
@@ -1912,7 +1912,7 @@ int assemble_container_content(struct supertype *st, int mdfd,
                }
 
                err = Grow_continue(mdfd, st, content, c->backup_file,
-                                   c->freeze_reshape);
+                                   0, c->freeze_reshape);
        } else switch(content->array.level) {
                case LEVEL_LINEAR:
                case LEVEL_MULTIPATH: