svn commit: r210989 - projects/ofed/head/sys/ofed/include/linux

Jeff Roberson jeff at FreeBSD.org
Sat Aug 7 02:09:08 UTC 2010


Author: jeff
Date: Sat Aug  7 02:09:07 2010
New Revision: 210989
URL: http://svn.freebsd.org/changeset/base/210989

Log:
   - Don't forget to pass SLEEPQ_INTERRUPTIBLE if we're going to call
     sleepq_wait_sig().
  
  Sponsored by:	Isilon Systems, iX Systems, and Panasas.

Modified:
  projects/ofed/head/sys/ofed/include/linux/wait.h

Modified: projects/ofed/head/sys/ofed/include/linux/wait.h
==============================================================================
--- projects/ofed/head/sys/ofed/include/linux/wait.h	Sat Aug  7 02:08:33 2010	(r210988)
+++ projects/ofed/head/sys/ofed/include/linux/wait.h	Sat Aug  7 02:09:07 2010	(r210989)
@@ -98,7 +98,8 @@ do {									\
 				sleepq_release(c);			\
 				break;					\
 			}						\
-			sleepq_add(c, NULL, "completion", SLEEPQ_SLEEP, 0); \
+			sleepq_add(c, NULL, "completion",		\
+			    SLEEPQ_SLEEP | SLEEPQ_INTERRUPTIBLE, 0);	\
 			if (sleepq_wait_sig(c, 0))			\
 				_error = -ERESTARTSYS;			\
 		}							\


More information about the svn-src-projects mailing list