From a34fea0eae78fbabb289a5bce6d7a04bf889156d Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 20 Jan 2014 12:25:23 +1100 Subject: [PATCH 06/13] DDF - really ignore DDF metadata on partitions. See commit 357ac1067835d1cdd5f80acc28501db0ffc64957 which made a similar change for super-intel, and really should have fixed DDF at the same time. Signed-off-by: NeilBrown --- super-ddf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- mdadm-3.3.orig/super-ddf.c +++ mdadm-3.3/super-ddf.c @@ -1126,7 +1126,7 @@ static int load_super_ddf(struct superty if (get_dev_size(fd, devname, &dsize) == 0) return 1; - if (!st->ignore_hw_compat && test_partition(fd)) + if (test_partition(fd)) /* DDF is not allowed on partitions */ return 1;