patch-2.2.15 linux/net/sunrpc/sched.c
Next file: linux/net/sunrpc/svcauth.c
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Apr 21 12:47:17 2000
- Orig file:
v2.2.14/net/sunrpc/sched.c
- Orig date:
Sat Aug 14 02:26:22 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/net/sunrpc/sched.c linux/net/sunrpc/sched.c
@@ -413,18 +413,15 @@
}
/*
- * No handler for next step means exit.
- */
- if (!task->tk_action)
- break;
-
- /*
* Perform the next FSM step.
* tk_action may be NULL when the task has been killed
* by someone else.
*/
- if (RPC_IS_RUNNING(task) && task->tk_action)
+ if (RPC_IS_RUNNING(task)) {
+ if (!task->tk_action)
+ break;
task->tk_action(task);
+ }
/*
* Check whether task is sleeping.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)