1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-22 06:50:52 +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 b93aa9eac4
commit a3ac5a54d0

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)