]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-ddf.c
Make sure resync_start is initialised properly and maintained properly
[thirdparty/mdadm.git] / super-ddf.c
index cb7f67c4fdeb9e00a12c4dee2b6109c9193fed76..5d38750489193302e6a4bcd0e56809ccdc29957b 100644 (file)
@@ -1286,6 +1286,8 @@ static void getinfo_super_ddf_bvd(struct supertype *st, struct mdinfo *info)
 //     info->disk.raid_disk = find refnum in the table and use index;
 //     info->disk.state = ???;
 
+       info->container_member = ddf->currentconf->vcnum;
+
        info->resync_start = 0;
        if (!(ddf->virt->entries[info->container_member].state
              & DDF_state_inconsistent)  &&