summaryrefslogtreecommitdiff
path: root/Examine.c
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 /Examine.c
parent2efedc7bd23b4796fcf535cb28f796b235aff9ca (diff)
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 'Examine.c')
-rw-r--r--Examine.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/Examine.c b/Examine.c
index fcfb02b8..b4425e5a 100644
--- a/Examine.c
+++ b/Examine.c
@@ -62,7 +62,6 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
void *super;
struct supertype *st;
struct mdinfo info;
- struct mddev_ident_s ident;
void *devs;
struct array *next;
int spares;
@@ -113,9 +112,9 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
ap->spares = 0;
ap->st = st;
arrays = ap;
- st->ss->getinfo_super(&ap->info, &ap->ident, super);
+ st->ss->getinfo_super(&ap->info, super);
} else {
- st->ss->getinfo_super(&ap->info, &ap->ident, super);
+ st->ss->getinfo_super(&ap->info, super);
free(super);
}
if (!(ap->info.disk.state & MD_DISK_SYNC))