summaryrefslogtreecommitdiff
path: root/Create.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-02-24 18:45:57 -0700
committerDan Williams <dan.j.williams@intel.com>2009-02-24 18:45:57 -0700
commita9b8734a23a72afe1f990e446294e5cca37d3775 (patch)
tree84bf5831c2d3b03e89dd8685ca79fa5949e51179 /Create.c
parent85f9b5f798f7fded7145df7b250744e216251ad7 (diff)
downloadmdadm-a9b8734a23a72afe1f990e446294e5cca37d3775.tar.gz
Create: wait_for container creation
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Create.c')
-rw-r--r--Create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Create.c b/Create.c
index f63afa8..191e113 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) {