diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 19:26:21 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 19:26:21 +0100 |
commit | d23534e4646313a67296b295666d165a87bb2c92 (patch) | |
tree | d99d9b4beb269ac0f8b1bbe6c0ca3cfab97f5c4a /managemon.c | |
parent | Introduce MaxSector (diff) | |
download | 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 'managemon.c')
-rw-r--r-- | managemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/managemon.c b/managemon.c index e3350778..3a20e2b6 100644 --- a/managemon.c +++ b/managemon.c @@ -410,7 +410,7 @@ static void manage_member(struct mdstat_ent *mdstat, newd = malloc(sizeof(*newd)); if (!newd) continue; - if (sysfs_add_disk(&newa->info, d, 0) < 0) { + if (sysfs_add_disk(&newa->info, d) < 0) { free(newd); continue; } |