NeilBrown: Restore assembling of ddf containers.

Martin F. Krafft madduck at alioth.debian.org
Sun Aug 29 11:55:15 UTC 2010


Module: mdadm
Branch: fixes/udev-blkid
Commit: 510242aa486d9c20ec639e150c0342c6bb07afe6
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=510242aa486d9c20ec639e150c0342c6bb07afe6

Author: NeilBrown <neilb at suse.de>
Date:   Thu Jul 29 13:26:26 2010 +1000

Restore assembling of ddf containers.

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 at suse.de>

---

 super-ddf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/super-ddf.c b/super-ddf.c
index 6dd3173..5ecce74 100644
--- a/super-ddf.c
+++ b/super-ddf.c
@@ -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;




More information about the pkg-mdadm-commits mailing list