1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00

Fix the regression introduced by dmeventd leak fixes.

This commit is contained in:
Petr Rockai 2007-04-24 13:29:02 +00:00
parent 17a6fc0b45
commit 6e23a8aa20

View File

@ -623,6 +623,8 @@ static int _event_wait(struct thread_status *thread, struct dm_task **task)
} else if (thread->events & DM_EVENT_TIMEOUT && errno == EINTR) {
thread->current_events |= DM_EVENT_TIMEOUT;
ret = DM_WAIT_INTR;
} else if (thread->status == DM_THREAD_SHUTDOWN && errno == EINTR) {
ret = DM_WAIT_FATAL;
} else {
syslog(LOG_NOTICE, "dm_task_run failed, errno = %d, %s",
errno, strerror(errno));