[Ocfs2-commits] manish commits r2197 - trunk/fs/ocfs2/cluster
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Apr 28 19:00:12 CDT 2005
Author: manish
Signed-off-by: mfasheh
Date: 2005-04-28 19:00:10 -0500 (Thu, 28 Apr 2005)
New Revision: 2197
Modified:
trunk/fs/ocfs2/cluster/tcp.c
Log:
No need to use wait_event_interruptible in net_receive_thread
Signed-off-by: mfasheh
Modified: trunk/fs/ocfs2/cluster/tcp.c
===================================================================
--- trunk/fs/ocfs2/cluster/tcp.c 2005-04-28 23:54:06 UTC (rev 2196)
+++ trunk/fs/ocfs2/cluster/tcp.c 2005-04-29 00:00:10 UTC (rev 2197)
@@ -479,9 +479,8 @@
net_check_cb_lists();
net_receive();
- wait_event_interruptible(*sock->sk->sk_sleep,
- net_rx_should_wake(sock) ||
- kthread_should_stop());
+ wait_event(*sock->sk->sk_sleep, net_rx_should_wake(sock) ||
+ kthread_should_stop());
}
mlog(ML_KTHREAD, "net thread exiting\n");
@@ -1550,8 +1549,8 @@
/* wait for nd_sc to change, either our connect finishing or
* an accept arriving */
ret = wait_event_interruptible(node->nd_sc_wq,
- atomic_read(&node->nd_sc_generation) !=
- gen);
+ atomic_read(&node->nd_sc_generation) !=
+ gen);
if (ret)
goto out;
More information about the Ocfs2-commits
mailing list