DDF - really ignore DDF metadata on partitions.
See commit 357ac10678
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>
This commit is contained in:
parent
75a721fd7d
commit
a34fea0eae
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue