patch-2.1.75 linux/net/sunrpc/sched.c
Next file: linux/scripts/Menuconfig
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Dec 21 16:15:02 1997
- Orig file:
v2.1.74/linux/net/sunrpc/sched.c
- Orig date:
Sun Dec 21 16:17:45 1997
diff -u --recursive --new-file v2.1.74/linux/net/sunrpc/sched.c linux/net/sunrpc/sched.c
@@ -395,7 +395,7 @@
/* When the task received a signal, remove from
* any queues etc, and make runnable again. */
- if (signalled())
+ if (0 && signalled())
__rpc_wake_up(task);
dprintk("RPC: %4d sync task resuming\n",
@@ -521,6 +521,7 @@
if (flags & RPC_TASK_ASYNC)
return NULL;
current->timeout = jiffies + (HZ >> 4);
+ current->state = TASK_INTERRUPTIBLE;
schedule();
} while (!signalled());
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov