summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 20:24:50 +1100
committerNeilBrown <neilb@suse.de>2010-11-22 20:24:50 +1100
commita951a4f78f079b86328419d024a214ce0fb2aa04 (patch)
treecb1553f6150ee1a268f7666b3a26251e96e2d39c /mdadm.h
parenta1f976a013ab738affd54a1ba737107aa05c26ad (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mdadm.h b/mdadm.h
index d46139ce..25bc6230 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -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,