summaryrefslogtreecommitdiffstats
path: root/0018-RH-fix-factorize.patch
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2013-03-02 17:03:30 -0600
committerBenjamin Marzinski <bmarzins@redhat.com>2013-03-02 17:03:30 -0600
commitd1207a7795f6efc52e321e735a92d7b3d80aaaba (patch)
treebb53dfc9c74896fe5467159dfb92a4fdf774f492 /0018-RH-fix-factorize.patch
parent1a1eabcadfe8159ec0373b7a4cf7b2e058ea0db5 (diff)
downloaddevice-mapper-multipath-d1207a7795f6efc52e321e735a92d7b3d80aaaba.tar.gz
device-mapper-multipath-d1207a7795f6efc52e321e735a92d7b3d80aaaba.tar.xz
device-mapper-multipath-d1207a7795f6efc52e321e735a92d7b3d80aaaba.zip
device-mapper-multipath-0.4.9-45
Updated to latest upstrem 0.4.9 code: multipath-tools-130222 (git commit id: 67b82ad6fe280caa1770025a6bb8110b633fa136) Refresh 0001-RH-dont_start_with_no_config.patch Modify 0002-RH-multipath.rules.patch Modify 0003-RH-Make-build-system-RH-Fedora-friendly.patch Refresh 0004-RH-multipathd-blacklist-all-by-default.patch Refresh 0005-RH-add-mpathconf.patch Refresh 0006-RH-add-find-multipaths.patch Add 0008-RH-revert-partition-changes.patch Rename 0008-RH-RHEL5-style-partitions.patch to 0009-RH-RHEL5-style-partitions.patch Rename 0009-RH-dont-remove-map-on-enomem.patch to 0010-RH-dont-remove-map-on-enomem.patch Rename 0010-RH-deprecate-uid-gid-mode.patch to 0011-RH-deprecate-uid-gid-mode.patch Rename 0013-RH-kpartx-msg.patch to 0012-RH-kpartx-msg.patch Rename 0035-RHBZ-883981-cleanup-rpmdiff-issues.patch to 0013-RHBZ-883981-cleanup-rpmdiff-issues.patch Rename 0039-RH-handle-other-sector-sizes.patch to 0014-RH-handle-other-sector-sizes.patch Rename 0040-RH-fix-output-buffer.patch to 0015-RH-fix-output-buffer.patch Add 0016-RH-dont-print-ghost-messages.patch Add 0017-RH-fix-sigusr1.patch * Actually this fixes a number of issues related to signals Rename 0018-RH-remove-config-dups.patch to 0018-RH-fix-factorize.patch * just the part that isn't upstream Add 0019-RH-fix-sockets.patch * makes abstract multipathd a cli sockets use the correct name. Set find_multipaths in the default config
Diffstat (limited to '0018-RH-fix-factorize.patch')
-rw-r--r--0018-RH-fix-factorize.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/0018-RH-fix-factorize.patch b/0018-RH-fix-factorize.patch
new file mode 100644
index 0000000..1dfcab5
--- /dev/null
+++ b/0018-RH-fix-factorize.patch
@@ -0,0 +1,17 @@
+---
+ libmultipath/config.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+Index: multipath-tools-130222/libmultipath/config.c
+===================================================================
+--- multipath-tools-130222.orig/libmultipath/config.c
++++ multipath-tools-130222/libmultipath/config.c
+@@ -437,6 +437,8 @@ restart:
+ merge_hwe(hwe2, hwe1);
+ if (hwe_strmatch(hwe2, hwe1) == 0) {
+ vector_del_slot(hw, i);
++ free_hwe(hwe1);
++ n -= 1;
+ /*
+ * Play safe here; we have modified
+ * the original vector so the outer