From: NeilBrown Date: Mon, 20 Jan 2014 01:25:23 +0000 (+1100) Subject: DDF - really ignore DDF metadata on partitions. X-Git-Tag: mdadm-3.3.1~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a34fea0eae78fbabb289a5bce6d7a04bf889156d;p=thirdparty%2Fmdadm.git 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 --- diff --git a/super-ddf.c b/super-ddf.c index 400088eb..d526d8ad 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -1126,7 +1126,7 @@ static int load_super_ddf(struct supertype *st, int fd, 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;