]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-ddf.c
Allow passing metadata update to the monitor.
[thirdparty/mdadm.git] / super-ddf.c
index d91269680d925b7fa1febf2fde3d30a43c289350..2918b716c2e0a4d0a24c468a86cc7cd647fe5403 100644 (file)
@@ -2666,7 +2666,7 @@ static void ddf_set_disk(struct active_array *a, int n, int state)
        fprintf(stderr, "ddf: set_disk %d\n", n);
 }
 
-static void ddf_sync_metadata(struct active_array *a)
+static void ddf_sync_metadata(struct supertype *st)
 {
 
        /*
@@ -2676,7 +2676,7 @@ static void ddf_sync_metadata(struct active_array *a)
         * but ddf is sufficiently weird that it probably always
         * changes global data ....
         */
-       __write_init_super_ddf(a->container, 0);
+       __write_init_super_ddf(st, 0);
        fprintf(stderr, "ddf: sync_metadata\n");
 }