Message ID | 20220728122101.28744-18-colyli@suse.de (mailing list archive) |
---|---|
State | Mainlined, archived |
Delegated to: | Jes Sorensen |
Headers | show |
Series | mdadm-CI for-jes/20220728: patches for merge | expand |
diff --git a/Assemble.c b/Assemble.c index 6df6bfbc..1856b916 100644 --- a/Assemble.c +++ b/Assemble.c @@ -1809,10 +1809,9 @@ try_again: } #endif } - if (c->force && !clean && + if (c->force && !clean && content->array.level != LEVEL_CONTAINER && !enough(content->array.level, content->array.raid_disks, - content->array.layout, clean, - avail)) { + content->array.layout, clean, avail)) { change += st->ss->update_super(st, content, "force-array", devices[chosen_drive].devname, c->verbose, 0, NULL);