diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-01-03 03:55:03 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-01-06 14:58:39 -0500 |
commit | abbcf28f23d53e8ec56a91f3528743913fa2694a (patch) | |
tree | 97dafc3840e4660ac0fcf99bbdc7eddc2fecd08a /include/linux/sunrpc/sched.h | |
parent | abd3e641d5ef9f836ab2f2b04d80b8619b051531 (diff) |
SUNRPC: Yet more RPC cleanups
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/sched.h')
-rw-r--r-- | include/linux/sunrpc/sched.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h index 4d77e90d0b30..4c4b2dc8aca5 100644 --- a/include/linux/sunrpc/sched.h +++ b/include/linux/sunrpc/sched.h | |||
@@ -233,6 +233,7 @@ struct rpc_task *rpc_new_child(struct rpc_clnt *, struct rpc_task *parent); | |||
233 | void rpc_init_task(struct rpc_task *, struct rpc_clnt *, | 233 | void rpc_init_task(struct rpc_task *, struct rpc_clnt *, |
234 | rpc_action exitfunc, int flags); | 234 | rpc_action exitfunc, int flags); |
235 | void rpc_release_task(struct rpc_task *); | 235 | void rpc_release_task(struct rpc_task *); |
236 | void rpc_exit_task(struct rpc_task *); | ||
236 | void rpc_killall_tasks(struct rpc_clnt *); | 237 | void rpc_killall_tasks(struct rpc_clnt *); |
237 | int rpc_execute(struct rpc_task *); | 238 | int rpc_execute(struct rpc_task *); |
238 | void rpc_run_child(struct rpc_task *parent, struct rpc_task *child, | 239 | void rpc_run_child(struct rpc_task *parent, struct rpc_task *child, |
@@ -259,7 +260,7 @@ void rpc_destroy_mempool(void); | |||
259 | static inline void rpc_exit(struct rpc_task *task, int status) | 260 | static inline void rpc_exit(struct rpc_task *task, int status) |
260 | { | 261 | { |
261 | task->tk_status = status; | 262 | task->tk_status = status; |
262 | task->tk_action = NULL; | 263 | task->tk_action = rpc_exit_task; |
263 | } | 264 | } |
264 | 265 | ||
265 | #ifdef RPC_DEBUG | 266 | #ifdef RPC_DEBUG |