summaryrefslogtreecommitdiffstats
path: root/0020-RHBZ-907360-static-pthread-init.patch
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2017-05-25 17:12:56 -0500
committerBenjamin Marzinski <bmarzins@redhat.com>2017-05-25 17:12:56 -0500
commita4bb435b339a71961c09722879c45649dec01057 (patch)
treed395b1874ed4e9fc7f4686e2581db05fab088ed1 /0020-RHBZ-907360-static-pthread-init.patch
parent3591e72a603304adc6f8fb72fbe47ddbf8760eeb (diff)
device-mapper-multipath-0.7.1-1.gitf21166a
- Update Source to the latest upstream commit - Add 0001-libmultipath-add-comment-about-resuming.patch * posted upstream - Add 0002-multipath-attempt-at-common-multipath.rules.patch * under discussion upstream - Add 0003-RH-fixup-udev-rules-for-redhat.patch * Redhat uses different udev rules that some other distros, so multipath has run at a different time. Not all upstream distros link /sbin and /usr/sbin either. - Add 0004-RH-Remove-the-property-blacklist-exception-builtin.patch * Allow multipath to be used on devices without multiple paths. NAK'ed upstream, but requested by Red Hat - Add 0005-RH-don-t-start-without-a-config-file.patch * Don't start multipath unless a config file exists. NAK'ed upstream, but requested by Red Hat - Add 0006-RH-use-rpm-optflags-if-present.patch * Make the build system fedora friendly - Add 0007-RH-add-mpathconf.patch * Add tool to help configure multipath with Red Hat defaults. - Add 0008-RH-add-wwids-from-kernel-cmdline-mpath.wwids-with-A.patch * Make multipath able to claim devices based on the kernel command line NAK'ed upstream but requested by Red Hat - Add 0009-RH-trigger-change-uevent-on-new-device-creation.patch * under discussion upstream
Diffstat (limited to '0020-RHBZ-907360-static-pthread-init.patch')
-rw-r--r--0020-RHBZ-907360-static-pthread-init.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/0020-RHBZ-907360-static-pthread-init.patch b/0020-RHBZ-907360-static-pthread-init.patch
deleted file mode 100644
index bafa5ce..0000000
--- a/0020-RHBZ-907360-static-pthread-init.patch
+++ /dev/null
@@ -1,41 +0,0 @@
----
- libmultipath/uevent.c | 12 ++++--------
- 1 file changed, 4 insertions(+), 8 deletions(-)
-
-Index: multipath-tools-130222/libmultipath/uevent.c
-===================================================================
---- multipath-tools-130222.orig/libmultipath/uevent.c
-+++ multipath-tools-130222/libmultipath/uevent.c
-@@ -53,8 +53,10 @@ typedef int (uev_trigger)(struct uevent
-
- pthread_t uevq_thr;
- LIST_HEAD(uevq);
--pthread_mutex_t uevq_lock, *uevq_lockp = &uevq_lock;
--pthread_cond_t uev_cond, *uev_condp = &uev_cond;
-+pthread_mutex_t uevq_lock = PTHREAD_MUTEX_INITIALIZER;
-+pthread_mutex_t *uevq_lockp = &uevq_lock;
-+pthread_cond_t uev_cond = PTHREAD_COND_INITIALIZER;
-+pthread_cond_t *uev_condp = &uev_cond;
- uev_trigger *my_uev_trigger;
- void * my_trigger_data;
- int servicing_uev;
-@@ -409,10 +411,6 @@ int uevent_listen(void)
- * thereby not getting to empty the socket's receive buffer queue
- * often enough.
- */
-- INIT_LIST_HEAD(&uevq);
--
-- pthread_mutex_init(uevq_lockp, NULL);
-- pthread_cond_init(uev_condp, NULL);
- pthread_cleanup_push(uevq_stop, NULL);
-
- monitor = udev_monitor_new_from_netlink(conf->udev, "udev");
-@@ -525,8 +523,6 @@ out:
- if (need_failback)
- err = failback_listen();
- pthread_cleanup_pop(1);
-- pthread_mutex_destroy(uevq_lockp);
-- pthread_cond_destroy(uev_condp);
- return err;
- }
-