]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Incremental.c
Create: tell udev md device is not ready when first created.
[thirdparty/mdadm.git] / Incremental.c
index 66c5b037b10a704381692e24993f62af6168053f..4789e36ce8a7d5f5b126efb9a94eefd7fcf2892d 100644 (file)
@@ -320,7 +320,7 @@ int Incremental(struct mddev_dev *devlist, struct context *c,
 
                /* Couldn't find an existing array, maybe make a new one */
                mdfd = create_mddev(match ? match->devname : NULL,
-                                   name_to_use, c->autof, trustworthy, chosen_name);
+                                   name_to_use, c->autof, trustworthy, chosen_name, 0);
 
                if (mdfd < 0)
                        goto out_unlock;
@@ -1596,7 +1596,7 @@ static int Incremental_container(struct supertype *st, char *devname,
                                            ra->name,
                                            c->autof,
                                            trustworthy,
-                                           chosen_name);
+                                           chosen_name, 0);
                }
                if (only && (!mp || strcmp(mp->devnm, only) != 0))
                        continue;