aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms-tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dlm/lowcomms-tcp.c')
-rw-r--r--fs/dlm/lowcomms-tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/lowcomms-tcp.c b/fs/dlm/lowcomms-tcp.c
index 3b224733f18b..18b91c65bdb3 100644
--- a/fs/dlm/lowcomms-tcp.c
+++ b/fs/dlm/lowcomms-tcp.c
@@ -996,7 +996,7 @@ static int dlm_recvd(void *data)
996 while (!kthread_should_stop()) { 996 while (!kthread_should_stop()) {
997 set_current_state(TASK_INTERRUPTIBLE); 997 set_current_state(TASK_INTERRUPTIBLE);
998 if (read_list_empty()) 998 if (read_list_empty())
999 cond_resched(); 999 schedule();
1000 set_current_state(TASK_RUNNING); 1000 set_current_state(TASK_RUNNING);
1001 1001
1002 process_sockets(); 1002 process_sockets();
@@ -1030,7 +1030,7 @@ static int dlm_sendd(void *data)
1030 while (!kthread_should_stop()) { 1030 while (!kthread_should_stop()) {
1031 set_current_state(TASK_INTERRUPTIBLE); 1031 set_current_state(TASK_INTERRUPTIBLE);
1032 if (write_and_state_lists_empty()) 1032 if (write_and_state_lists_empty())
1033 cond_resched(); 1033 schedule();
1034 set_current_state(TASK_RUNNING); 1034 set_current_state(TASK_RUNNING);
1035 1035
1036 process_state_queue(); 1036 process_state_queue();