diff options
author | NeilBrown <neilb@suse.de> | 2009-04-07 09:34:38 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-04-07 09:34:38 +0200 |
commit | a7c6e3fb24f8335005a6ff8e0eb668faa257c941 (patch) | |
tree | 586861457108a56d57ffb64ea2672514e89a1c74 /Build.c | |
parent | config: treat "container=" and "member=" and providing the required identity ... (diff) | |
download | mdadm-a7c6e3fb24f8335005a6ff8e0eb668faa257c941.tar.xz mdadm-a7c6e3fb24f8335005a6ff8e0eb668faa257c941.zip |
wait_for improvement.
wait not only for the name to appear, but for it to refer to the
correct device.
Sometimes old symlinks left lying around can be confusing.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Build.c')
-rw-r--r-- | Build.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -281,8 +281,8 @@ int Build(char *mddev, int chunk, int level, int layout, if (verbose >= 0) fprintf(stderr, Name ": array %s built and started.\n", mddev); + wait_for(mddev, mdfd); close(mdfd); - wait_for(mddev); return 0; abort: |