]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
DDF - really ignore DDF metadata on partitions.
authorNeilBrown <neilb@suse.de>
Mon, 20 Jan 2014 01:25:23 +0000 (12:25 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 20 Jan 2014 01:25:23 +0000 (12:25 +1100)
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 <neilb@suse.de>
super-ddf.c

index 400088eb3a1fadc7707fd27e1f739b2a99f28fd2..d526d8ad3da984f74fb79bf1304897efea69e76d 100644 (file)
@@ -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;