[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] device-mapper/dmeventd dmeventd.c



CVSROOT:	/cvs/dm
Module name:	device-mapper
Changes by:	mornfall sourceware org	2007-04-24 14:29:02

Modified files:
	dmeventd       : dmeventd.c 

Log message:
	Fix the regression introduced by dmeventd leak fixes.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/dmeventd/dmeventd.c.diff?cvsroot=dm&r1=1.48&r2=1.49

--- device-mapper/dmeventd/dmeventd.c	2007/04/23 15:06:03	1.48
+++ device-mapper/dmeventd/dmeventd.c	2007/04/24 13:29:02	1.49
@@ -623,6 +623,8 @@
 	} 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));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]