forked from pool/mdadm
702c57405a
run "mdadm --monitor" from systemd instead of init.d sciprt (bnc#849523) - remove mdadmd due to above. - udev-rules-try-mdadm-I-on-change-events.patch (bnc#851993) - policy-NULL-path-isn-t-really-acceptable-use-the-dev.patch - DDF-really-ignore-DDF-metadata-on-partitions.patch - Assemble-avoid-infinite-loop-when-auto-assembling-pa.patch - DDF-fix-detection-of-failed-devices-during-assembly.patch - Grow-fix-problems-with-prematurely-aborting-of-resha.patch - IMSM-don-t-crash-when-creating-an-array-with-missing.patch - mdmon-don-t-complain-about-notifying-parent-when-the.patch - systemd-mdmon-set-IMSM_NO_PLATFORM-1.patch - mdmon-.service-remove-over-ride-of-Standard-IO.patch Various upstream bug fixes. OBS-URL: https://build.opensuse.org/package/show/Base:System/mdadm?expand=0&rev=101
26 lines
793 B
Diff
26 lines
793 B
Diff
From a34fea0eae78fbabb289a5bce6d7a04bf889156d Mon Sep 17 00:00:00 2001
|
|
From: NeilBrown <neilb@suse.de>
|
|
Date: Mon, 20 Jan 2014 12:25:23 +1100
|
|
Subject: [PATCH 06/13] 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>
|
|
---
|
|
super-ddf.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- mdadm-3.3.orig/super-ddf.c
|
|
+++ mdadm-3.3/super-ddf.c
|
|
@@ -1126,7 +1126,7 @@ static int load_super_ddf(struct superty
|
|
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;
|
|
|