summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-04-07 17:34:38 +1000
committerNeilBrown <neilb@suse.de>2009-04-07 17:34:38 +1000
commita7c6e3fb24f8335005a6ff8e0eb668faa257c941 (patch)
tree586861457108a56d57ffb64ea2672514e89a1c74 /mdadm.h
parentb1b12d58194e42208e4828ea5818279c00a0ed18 (diff)
downloadmdadm-a7c6e3fb24f8335005a6ff8e0eb668faa257c941.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdadm.h b/mdadm.h
index 6770d6c..83a7944 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -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;