[Ocfs2-commits] manish commits r2201 - trunk/fs/ocfs2/cluster

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Apr 29 13:35:13 CDT 2005


Author: manish
Signed-off-by: mfasheh
Date: 2005-04-29 13:35:11 -0500 (Fri, 29 Apr 2005)
New Revision: 2201

Modified:
   trunk/fs/ocfs2/cluster/tcp.c
Log:
Revert back to wait_event_interruptible, this seems to have caused problems.

Signed-off-by: mfasheh


Modified: trunk/fs/ocfs2/cluster/tcp.c
===================================================================
--- trunk/fs/ocfs2/cluster/tcp.c	2005-04-29 05:08:13 UTC (rev 2200)
+++ trunk/fs/ocfs2/cluster/tcp.c	2005-04-29 18:35:11 UTC (rev 2201)
@@ -479,8 +479,9 @@
 		net_check_cb_lists();
 		net_receive();
 
-		wait_event(*sock->sk->sk_sleep, net_rx_should_wake(sock) ||
-						kthread_should_stop());
+		wait_event_interruptible(*sock->sk->sk_sleep,
+					 net_rx_should_wake(sock) ||
+					 kthread_should_stop());
 	}
 
 	mlog(ML_KTHREAD, "net thread exiting\n");



More information about the Ocfs2-commits mailing list