aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc/sched.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2007-07-14 15:39:59 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 02:05:30 -0500
commitc970aa85e71bd581726c42df843f6f129db275ac (patch)
treee7fc90ee4064196d357045fd173764e0b8fc8ca8 /include/linux/sunrpc/sched.h
parent84115e1cd4a3614c4e566d4cce31381dce3dbef9 (diff)
SUNRPC: Clean up rpc_run_task
Make it use the new task initialiser structure instead of acting as a wrapper. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc/sched.h')
-rw-r--r--include/linux/sunrpc/sched.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/sunrpc/sched.h b/include/linux/sunrpc/sched.h
index 9efe045fc376..d974421d7647 100644
--- a/include/linux/sunrpc/sched.h
+++ b/include/linux/sunrpc/sched.h
@@ -244,8 +244,7 @@ struct rpc_wait_queue {
244 * Function prototypes 244 * Function prototypes
245 */ 245 */
246struct rpc_task *rpc_new_task(const struct rpc_task_setup *); 246struct rpc_task *rpc_new_task(const struct rpc_task_setup *);
247struct rpc_task *rpc_run_task(struct rpc_clnt *clnt, int flags, 247struct rpc_task *rpc_run_task(const struct rpc_task_setup *);
248 const struct rpc_call_ops *ops, void *data);
249void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *); 248void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *);
250void rpc_put_task(struct rpc_task *); 249void rpc_put_task(struct rpc_task *);
251void rpc_exit_task(struct rpc_task *); 250void rpc_exit_task(struct rpc_task *);