summaryrefslogtreecommitdiffstats
path: root/0060-RHBZ-606420-fix-remove-map.patch
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2011-07-15 12:25:48 -0500
committerBenjamin Marzinski <bmarzins@redhat.com>2011-07-15 12:25:48 -0500
commitb0ec4a42c85b8a4962352eddffcba84132a2eb78 (patch)
tree8edb07c01c2117761e6f821f515ae35b3fb50d3f /0060-RHBZ-606420-fix-remove-map.patch
parent032bbf0df76b8f1b69818263f8292a05e74a8364 (diff)
Modify 0012-RH-udev-sync-support.patch
Modify 0021-RHBZ-548874-add-find-multipaths.patch Modify 0022-RHBZ-557845-RHEL5-style-partitions.patch Add 0025-RHBZ-508827-update-multipathd-manpage.patch through 0101-RHBZ-631009-disable-udev-disk-rules-on-reload.patch * sync with current state of RHEL6. Next release should include a updated source tarball with most of these fixes rolled in. Add 0102-RHBZ-690828-systemd-unit-file.patch * Add Jóhann B. Guðmundsson's unit file for systemd. * Add sub-package sysvinit for SysV init script. Resolves: bz #690828
Diffstat (limited to '0060-RHBZ-606420-fix-remove-map.patch')
-rw-r--r--0060-RHBZ-606420-fix-remove-map.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/0060-RHBZ-606420-fix-remove-map.patch b/0060-RHBZ-606420-fix-remove-map.patch
new file mode 100644
index 0000000..5670011
--- /dev/null
+++ b/0060-RHBZ-606420-fix-remove-map.patch
@@ -0,0 +1,16 @@
+--- multipath-tools/multipathd/main.c 2010-06-18 09:44:59.000000000 +0200
++++ multipath-tools.new/multipathd/main.c 2010-06-18 10:21:41.000000000 +0200
+@@ -317,11 +317,9 @@ ev_remove_map (char * devname, struct ve
+ if (!mpp) {
+ condlog(2, "%s: devmap not registered, can't remove",
+ devname);
+- return 0;
++ return 1;
+ }
+- flush_map(mpp, vecs);
+-
+- return 0;
++ return flush_map(mpp, vecs);
+ }
+
+ static int