mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
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>
This commit is contained in:
parent
84115e1cd4
commit
c970aa85e7
5 changed files with 67 additions and 38 deletions
|
@ -244,8 +244,7 @@ struct rpc_wait_queue {
|
|||
* Function prototypes
|
||||
*/
|
||||
struct rpc_task *rpc_new_task(const struct rpc_task_setup *);
|
||||
struct rpc_task *rpc_run_task(struct rpc_clnt *clnt, int flags,
|
||||
const struct rpc_call_ops *ops, void *data);
|
||||
struct rpc_task *rpc_run_task(const struct rpc_task_setup *);
|
||||
void rpc_init_task(struct rpc_task *task, const struct rpc_task_setup *);
|
||||
void rpc_put_task(struct rpc_task *);
|
||||
void rpc_exit_task(struct rpc_task *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue