From: Dan Williams Date: Wed, 25 Feb 2009 01:45:57 +0000 (-0700) Subject: Create: wait_for container creation X-Git-Tag: mdadm-3.0-devel3~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9b8734a23a72afe1f990e446294e5cca37d3775;p=thirdparty%2Fmdadm.git Create: wait_for container creation Signed-off-by: Dan Williams --- diff --git a/Create.c b/Create.c index f63afa83..191e1134 100644 --- a/Create.c +++ b/Create.c @@ -804,6 +804,7 @@ int Create(struct supertype *st, char *mddev, sysfs_uevent(&info, "change"); if (verbose >= 0) fprintf(stderr, Name ": container %s prepared.\n", mddev); + wait_for(chosen_name); } else if (runstop == 1 || subdevs >= raiddisks) { if (st->ss->external) { switch(level) {