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:
NeilBrown 2014-01-20 12:25:23 +11:00
parent 75a721fd7d
commit a34fea0eae
1 changed files with 1 additions and 1 deletions

View 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;