]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - util.c
Allow a metadata update to have a linked list of allocated spaces.
[thirdparty/mdadm.git] / util.c
diff --git a/util.c b/util.c
index f57cd9eea8eb8c379f7ce3c0f5099b7ae9967cb4..7544ce17a3c760c9817a11d1f0b14208584c515b 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1890,6 +1890,7 @@ void append_metadata_update(struct supertype *st, void *buf, int len)
        mu->buf = buf;
        mu->len = len;
        mu->space = NULL;
+       mu->space_list = NULL;
        mu->next = NULL;
        *st->update_tail = mu;
        st->update_tail = &mu->next;