diff options
Diffstat (limited to 'net/sunrpc/pmap_clnt.c')
-rw-r--r-- | net/sunrpc/pmap_clnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/pmap_clnt.c b/net/sunrpc/pmap_clnt.c index 0efcbf1302a2..f7b279a63baa 100644 --- a/net/sunrpc/pmap_clnt.c +++ b/net/sunrpc/pmap_clnt.c | |||
@@ -81,13 +81,13 @@ static inline void pmap_wake_portmap_waiters(struct rpc_xprt *xprt) | |||
81 | /** | 81 | /** |
82 | * rpc_getport - obtain the port for a given RPC service on a given host | 82 | * rpc_getport - obtain the port for a given RPC service on a given host |
83 | * @task: task that is waiting for portmapper request | 83 | * @task: task that is waiting for portmapper request |
84 | * @clnt: controlling rpc_clnt | ||
85 | * | 84 | * |
86 | * This one can be called for an ongoing RPC request, and can be used in | 85 | * This one can be called for an ongoing RPC request, and can be used in |
87 | * an async (rpciod) context. | 86 | * an async (rpciod) context. |
88 | */ | 87 | */ |
89 | void rpc_getport(struct rpc_task *task, struct rpc_clnt *clnt) | 88 | void rpc_getport(struct rpc_task *task) |
90 | { | 89 | { |
90 | struct rpc_clnt *clnt = task->tk_client; | ||
91 | struct rpc_xprt *xprt = task->tk_xprt; | 91 | struct rpc_xprt *xprt = task->tk_xprt; |
92 | struct sockaddr_in *sap = &xprt->addr; | 92 | struct sockaddr_in *sap = &xprt->addr; |
93 | struct portmap_args *map; | 93 | struct portmap_args *map; |