]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-intel.c
Allow a metadata update to have a linked list of allocated spaces.
[thirdparty/mdadm.git] / super-intel.c
index 68382513a910c89766f253dbdb43795d2a6388db..43f75d9e5adf5d618ba724b1f08c668b71302d80 100644 (file)
@@ -5357,6 +5357,7 @@ static struct mdinfo *imsm_activate_spare(struct active_array *a,
        }
                        
        mu->space = NULL;
+       mu->space_list = NULL;
        mu->len = sizeof(struct imsm_update_activate_spare) * num_spares;
        mu->next = *updates;
        u = (struct imsm_update_activate_spare *) mu->buf;