summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2012-02-01 20:11:58 +0000
committerPetr Rockai <prockai@redhat.com>2012-02-01 20:11:58 +0000
commitcd466297f4880b10d925a39fc73c946bb7e80348 (patch)
treea2eb096ea2fc3270e5c149f44f35b851106b3dde /daemons
parent2a57a934bbd9c6899d126d41b654b87d8ce7e3a4 (diff)
downloadlvm2-cd466297f4880b10d925a39fc73c946bb7e80348.tar.gz
lvm2-cd466297f4880b10d925a39fc73c946bb7e80348.tar.xz
lvm2-cd466297f4880b10d925a39fc73c946bb7e80348.zip
Remove a dubious log message ("another thread is handling an event") from LVM
dmeventd plugins. Fixes RHBZ 771419.
Diffstat (limited to 'daemons')
-rw-r--r--daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c b/daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c
index 32a387ff..6d49c44f 100644
--- a/daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c
+++ b/daemons/dmeventd/plugins/lvm2/dmeventd_lvm.c
@@ -82,10 +82,7 @@ static void _temporary_log_fn(int level,
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)