]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Build.c
Create: tell udev md device is not ready when first created.
[thirdparty/mdadm.git] / Build.c
diff --git a/Build.c b/Build.c
index 11ba12f4ae7d73000faa9ba3fda07e3dec32c464..665d9067b8d6c34ccb0abb9e7e2bf5f46281e4e0 100644 (file)
--- a/Build.c
+++ b/Build.c
@@ -109,7 +109,7 @@ int Build(char *mddev, struct mddev_dev *devlist,
        /* We need to create the device.  It can have no name. */
        map_lock(&map);
        mdfd = create_mddev(mddev, NULL, c->autof, LOCAL,
-                           chosen_name);
+                           chosen_name, 0);
        if (mdfd < 0) {
                map_unlock(&map);
                return 1;