]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Create.c
Add nodes option while creating md
[thirdparty/mdadm.git] / Create.c
index 19f3054a5209cb76681b7b034454aa7d3cce5edc..565bf500577dc7e397b8ed86db5fcb7e036c269b 100644 (file)
--- a/Create.c
+++ b/Create.c
@@ -531,6 +531,7 @@ int Create(struct supertype *st, char *mddev,
                                st->ss->name);
                warn = 1;
        }
+       st->nodes = c->nodes;
 
        if (warn) {
                if (c->runstop!= 1) {