Merging upstream version 4.3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
07b992239b
commit
0a7cc54657
13 changed files with 76 additions and 100 deletions
|
@ -1467,6 +1467,15 @@ static int Incremental_container(struct supertype *st, char *devname,
|
|||
|
||||
st->ss->getinfo_super(st, &info, NULL);
|
||||
|
||||
if (info.container_enough < 0 || (info.container_enough == 0 && c->runstop < 1)) {
|
||||
if (c->export)
|
||||
printf("MD_STARTED=no\n");
|
||||
else if (c->verbose)
|
||||
pr_err("Not enough devices to start the container.\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
match = conf_match(st, &info, devname, c->verbose, &rv);
|
||||
if (match == NULL && rv == 2)
|
||||
return rv;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue