diff options
author | Neil Brown <neilb@suse.de> | 2006-03-27 06:34:38 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-03-27 06:34:38 +0200 |
commit | 313176636ee8c24cf1464cfec159d41ffcffacb3 (patch) | |
tree | 866eefc2751994b4d598dcc524b2e192cf7028bd /Examine.c | |
parent | Put a 'canary' block in front of the backup (diff) | |
download | 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 'Examine.c')
-rw-r--r-- | Examine.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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)) |