summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-03-27 04:34:38 +0000
committerNeil Brown <neilb@suse.de>2006-03-27 04:34:38 +0000
commit313176636ee8c24cf1464cfec159d41ffcffacb3 (patch)
tree866eefc2751994b4d598dcc524b2e192cf7028bd /mdadm.h
parent2efedc7bd23b4796fcf535cb28f796b235aff9ca (diff)
downloadmdadm-313176636ee8c24cf1464cfec159d41ffcffacb3.tar.gz
mdadm-313176636ee8c24cf1464cfec159d41ffcffacb3.tar.xz
mdadm-313176636ee8c24cf1464cfec159d41ffcffacb3.zip
Remove ident arg from getinfo_super;
Add a 'name' field to 'info' to compensate. Signed-off-by: Neil Brown <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 00c280b..c929be9 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -91,6 +91,7 @@ struct mdinfo {
mdu_disk_info_t disk;
__u64 events;
int uuid[4];
+ char name[33];
unsigned long long data_offset;
unsigned long long component_size;
int reshape_active;
@@ -254,7 +255,7 @@ extern struct superswitch {
void (*detail_super)(void *sbv);
void (*brief_detail_super)(void *sbv);
void (*uuid_from_super)(int uuid[4], void *sbv);
- void (*getinfo_super)(struct mdinfo *info, mddev_ident_t ident, void *sbv);
+ void (*getinfo_super)(struct mdinfo *info, void *sbv);
int (*update_super)(struct mdinfo *info, void *sbv, char *update, char *devname, int verbose);
__u64 (*event_super)(void *sbv);
int (*init_super)(struct supertype *st, void **sbp, mdu_array_info_t *info, unsigned long long size, char *name);