1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Remove a dubious log message ("another thread is handling an event") from LVM

dmeventd plugins. Fixes RHBZ 771419.
This commit is contained in:
Petr Rockai 2012-02-01 20:11:58 +00:00
parent 2a57a934bb
commit cd466297f4

View File

@ -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)