diff options
author | NeilBrown <neilb@suse.de> | 2014-01-20 12:25:23 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-01-20 12:25:23 +1100 |
commit | a34fea0eae78fbabb289a5bce6d7a04bf889156d (patch) | |
tree | 51d4fb03582ef080355302e800f97a167675e68f /super-ddf.c | |
parent | 75a721fd7d5e5ee7e578571fe58755fe07e446fc (diff) |
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 <neilb@suse.de>
Diffstat (limited to 'super-ddf.c')
-rw-r--r-- | super-ddf.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |