diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 11:26:21 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 11:26:21 -0700 |
commit | d23534e4646313a67296b295666d165a87bb2c92 (patch) | |
tree | d99d9b4beb269ac0f8b1bbe6c0ca3cfab97f5c4a /mdadm.h | |
parent | b7528a20cca58c973771d94d7d2b8ef74bcf582d (diff) | |
download | mdadm-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |