summaryrefslogtreecommitdiffstats
path: root/super-ddf.c
diff options
context:
space:
mode:
Diffstat (limited to 'super-ddf.c')
-rw-r--r--super-ddf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/super-ddf.c b/super-ddf.c
index d9126968..2918b716 100644
--- a/super-ddf.c
+++ b/super-ddf.c
@@ -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");
}