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:
parent
b93aa9eac4
commit
a3ac5a54d0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user