]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Incremental.c
Incremental: remove test that can never succeed.
[thirdparty/mdadm.git] / Incremental.c
index 1bb3638f92132bf38bd6a9fa784c879b2a544c9b..680809572bf8fb47f59066288730dc83bbf2eadf 100644 (file)
@@ -480,11 +480,6 @@ int Incremental(char *devname, struct context *c,
                if (!rv)
                        rv = Incremental_container(st, chosen_name, c, NULL);
                map_unlock(&map);
-               if (rv == 1)
-                       /* Don't fail the whole -I if a subarray didn't
-                        * have enough devices to start yet
-                        */
-                       rv = 0;
                /* after spare is added, ping monitor for external metadata
                 * so that it can eg. try to rebuild degraded array */
                if (st->ss->external)