diff options
author | NeilBrown <neilb@suse.de> | 2010-11-22 20:24:50 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 20:24:50 +1100 |
commit | a951a4f78f079b86328419d024a214ce0fb2aa04 (patch) | |
tree | cb1553f6150ee1a268f7666b3a26251e96e2d39c /Manage.c | |
parent | a1f976a013ab738affd54a1ba737107aa05c26ad (diff) |
Pass subarray arg explicitly to ->update_subarray.
This is better than hiding it in the supertype structure
where we are never quite sure who needs it.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Manage.c')
-rw-r--r-- | Manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1054,7 +1054,7 @@ int Update_subarray(char *dev, char *subarray, char *update, mddev_ident_t ident if (mdmon_running(st->devnum)) st->update_tail = &st->updates; - rv = st->ss->update_subarray(st, update, ident); + rv = st->ss->update_subarray(st, subarray, update, ident); if (rv) { if (!quiet) |