diff options
author | Neil Brown <neilb@suse.de> | 2005-08-09 05:23:20 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-08-09 05:23:20 +0000 |
commit | 947fd4ddb554fd2c3d81c190dfe63407f8771eb8 (patch) | |
tree | 10b16db86578ca184faabae4232a886d2cff1ddc /Examine.c | |
parent | dfd4d8ee426fb71a369f494f95fe95b114a33c7c (diff) | |
download | mdadm-947fd4ddb554fd2c3d81c190dfe63407f8771eb8.tar.gz mdadm-947fd4ddb554fd2c3d81c190dfe63407f8771eb8.tar.xz mdadm-947fd4ddb554fd2c3d81c190dfe63407f8771eb8.zip |
Support nameing of version-1 arrays.
--name is recognised in --create and --assemble
name= is recognised in config file.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'Examine.c')
-rw-r--r-- | Examine.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -62,6 +62,7 @@ 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; @@ -108,9 +109,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, super); + st->ss->getinfo_super(&ap->info, &ap->ident, super); } else { - st->ss->getinfo_super(&ap->info, super); + st->ss->getinfo_super(&ap->info, &ap->ident, super); free(super); } if (!(ap->info.disk.state & MD_DISK_SYNC)) |