]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Restore assembling of ddf containers.
authorNeilBrown <neilb@suse.de>
Thu, 29 Jul 2010 03:26:26 +0000 (13:26 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 29 Jul 2010 03:26:26 +0000 (13:26 +1000)
The container_enough code change broke ddf as ddf never claimed
'enough' devices.  So change it to always claim 'enough' to
restore previous behaviour.

Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c

index 6dd3173efc1f953b87f1dc967616540e9322512f..5ecce743231ce0d2b1c3c209dc595a424523b5f7 100644 (file)
@@ -1365,7 +1365,7 @@ static void getinfo_super_ddf(struct supertype *st, struct mdinfo *info)
                                                         (ddf->anchor.guid+16));
        info->array.utime         = 0;
        info->array.chunk_size    = 0;
-       info->container_enough    = 0;
+       info->container_enough    = 1;
 
 
        info->disk.major = 0;