summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-12-21 11:26:21 -0700
committerDan Williams <dan.j.williams@intel.com>2009-12-21 11:26:21 -0700
commitd23534e4646313a67296b295666d165a87bb2c92 (patch)
treed99d9b4beb269ac0f8b1bbe6c0ca3cfab97f5c4a /mdadm.h
parentb7528a20cca58c973771d94d7d2b8ef74bcf582d (diff)
downloadmdadm-d23534e4646313a67296b295666d165a87bb2c92.tar.gz
mdadm-d23534e4646313a67296b295666d165a87bb2c92.tar.xz
mdadm-d23534e4646313a67296b295666d165a87bb2c92.zip
Teach sysfs_add_disk() callers to use ->recovery_start versus 'insync' parameter
Also fixup 'in_sync' versus 'insync' typo. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdadm.h b/mdadm.h
index 9cf15c4..af6d91b 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -385,8 +385,7 @@ extern int sysfs_get_str(struct mdinfo *sra, struct mdinfo *dev,
char *name, char *val, int size);
extern int sysfs_set_safemode(struct mdinfo *sra, unsigned long ms);
extern int sysfs_set_array(struct mdinfo *info, int vers);
-extern int sysfs_add_disk(struct mdinfo *sra, struct mdinfo *sd,
- int in_sync);
+extern int sysfs_add_disk(struct mdinfo *sra, struct mdinfo *sd);
extern int sysfs_disk_to_scsi_id(int fd, __u32 *id);
extern int sysfs_unique_holder(int devnum, long rdev);
extern int load_sys(char *path, char *buf);