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 /mdadm.h | |
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 'mdadm.h')
-rw-r--r-- | mdadm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -657,7 +657,7 @@ extern struct supertype *dup_super(struct supertype *st); extern int get_dev_size(int fd, char *dname, unsigned long long *sizep); extern void get_one_disk(int mdfd, mdu_array_info_t *ainf, mdu_disk_info_t *disk); -void wait_for(char *dev); +void wait_for(char *dev, int fd); #if __GNUC__ < 3 struct stat64; |