ddf: remove duplicate container_member setting.
We were setting ->container_member twice in ddf get_info. Once to currentconf->vcnum, once to atoi(st->subarray). Both should be the same. For consistency with super-intel, use the first. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
01afe516ce
commit
37e430d163
|
@ -1457,7 +1457,6 @@ static void getinfo_super_ddf_bvd(struct supertype *st, struct mdinfo *info)
|
|||
|
||||
uuid_from_super_ddf(st, info->uuid);
|
||||
|
||||
info->container_member = atoi(st->subarray);
|
||||
info->array.major_version = -1;
|
||||
info->array.minor_version = -2;
|
||||
sprintf(info->text_version, "/%s/%s",
|
||||
|
|
Loading…
Reference in New Issue