[lvm-devel] LVM2/daemons/dmeventd/plugins/lvm2 dmeventd_lvm.c
mornfall at sourceware.org
mornfall at sourceware.org
Wed Feb 1 20:11:59 UTC 2012
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2012-02-01 20:11:58
Modified files:
daemons/dmeventd/plugins/lvm2: dmeventd_lvm.c
Log message:
Remove a dubious log message ("another thread is handling an event") from LVM
dmeventd plugins. Fixes RHBZ 771419.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c.diff?cvsroot=lvm2&r1=1.7&r2=1.8
--- LVM2/daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c 2011/12/22 15:55:21 1.7
+++ LVM2/daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c 2012/02/01 20:11:58 1.8
@@ -82,10 +82,7 @@
void dmeventd_lvm2_lock(void)
{
- if (pthread_mutex_trylock(&_event_mutex)) {
- syslog(LOG_NOTICE, "Another thread is handling an event. Waiting...");
- pthread_mutex_lock(&_event_mutex);
- }
+ pthread_mutex_lock(&_event_mutex);
}
void dmeventd_lvm2_unlock(void)
More information about the lvm-devel
mailing list