From 313176636ee8c24cf1464cfec159d41ffcffacb3 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 27 Mar 2006 04:34:38 +0000 Subject: Remove ident arg from getinfo_super; Add a 'name' field to 'info' to compensate. Signed-off-by: Neil Brown --- Examine.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Examine.c') diff --git a/Examine.c b/Examine.c index fcfb02b..b4425e5 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)) -- cgit