]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-ddf.c
Use load_container in Incremental assembly.
[thirdparty/mdadm.git] / super-ddf.c
index 7a368d7cb6dbd8db2d655a6950c2ea81751df7ed..a97e05dea0c191b6ac31a1945d1a23789f5df38b 100644 (file)
@@ -2875,8 +2875,8 @@ static int load_super_ddf_all(struct supertype *st, int fd,
                st->ss = &super_ddf;
                st->minor_version = 0;
                st->max_devs = 512;
-               st->container_dev = fd2devnum(fd);
        }
+       st->container_dev = fd2devnum(fd);
        st->loaded_container = 1;
        return 0;
 }