]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - managemon.c
Allow data-offset to be specified per-device for create
[thirdparty/mdadm.git] / managemon.c
index ef351b3970b28b42f2e0c919a16030354a317f15..f0399b886d5f9cf3027630395777eb18f42b9073 100644 (file)
@@ -304,7 +304,7 @@ static void add_disk_to_container(struct supertype *st, struct mdinfo *sd)
        st2->ss->free_super(st2);
 
        st->update_tail = &update;
-       st->ss->add_to_super(st, &dk, dfd, NULL);
+       st->ss->add_to_super(st, &dk, dfd, NULL, INVALID_SECTORS);
        st->ss->write_init_super(st);
        queue_metadata_update(update);
        st->update_tail = NULL;