]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Incremental.c
mdadm: remove container_enough logic
[thirdparty/mdadm.git] / Incremental.c
index 05b33c4552b70d467c7db9681806ed97f09192a7..3551c65ba753fdd85730067089c978a65c14e2a3 100644 (file)
@@ -1467,17 +1467,6 @@ static int Incremental_container(struct supertype *st, char *devname,
 
        st->ss->getinfo_super(st, &info, NULL);
 
-       if ((c->runstop > 0 && info.container_enough >= 0) ||
-           info.container_enough > 0)
-               /* pass */;
-       else {
-               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;