]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-ddf.c
Create: user container_dev rather than subarray for some tests.
[thirdparty/mdadm.git] / super-ddf.c
index ab358918f8e7d61ffe018361c4a3c8163b8e028c..01c376d6c6b270512e418f7681dc7a2def4c08a8 100644 (file)
@@ -893,6 +893,7 @@ static struct supertype *match_metadata_desc_ddf(char *arg)
 
        st = malloc(sizeof(*st));
        memset(st, 0, sizeof(*st));
+       st->container_dev = NoMdDev;
        st->ss = &super_ddf;
        st->max_devs = 512;
        st->minor_version = 0;