diff --git a/super-intel.c b/super-intel.c index a103a3f..e02bbd7 100644 --- a/super-intel.c +++ b/super-intel.c @@ -7826,6 +7826,7 @@ static struct mdinfo *container_content_imsm(struct supertype *st, char *subarra int sb_errors = 0; struct dl *d; int spare_disks = 0; + int current_vol = super->current_vol; /* do not assemble arrays when not all attributes are supported */ if (imsm_check_attributes(mpb->attributes) == 0) { @@ -7993,6 +7994,7 @@ static struct mdinfo *container_content_imsm(struct supertype *st, char *subarra rest = this; } + super->current_vol = current_vol; return rest; }