SUNRPC: allow the caller of rpc_run_task to preallocate the struct rpc_task

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
Trond Myklebust
2007-10-25 18:42:53 -04:00
parent b5627943ab
commit e8f5d77c80
2 changed files with 10 additions and 5 deletions

View File

@@ -118,6 +118,7 @@ struct rpc_call_ops {
};
struct rpc_task_setup {
struct rpc_task *task;
struct rpc_clnt *rpc_client;
const struct rpc_message *rpc_message;
const struct rpc_call_ops *callback_ops;