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 /mdadm.h | |
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 'mdadm.h')
-rw-r--r-- | mdadm.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -629,7 +629,8 @@ extern struct superswitch { /* Permit subarray's to be deleted from inactive containers */ int (*kill_subarray)(struct supertype *st); /* optional */ /* Permit subarray's to be modified */ - int (*update_subarray)(struct supertype *st, char *update, mddev_ident_t ident); /* optional */ + int (*update_subarray)(struct supertype *st, char *subarray, + char *update, mddev_ident_t ident); /* optional */ /* for mdmon */ int (*open_new)(struct supertype *c, struct active_array *a, |