aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svc.c3
-rw-r--r--net/sunrpc/svcsock.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index f5aee4c61676..eee45a58f3ee 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -253,13 +253,14 @@ svc_register(struct svc_serv *serv, int proto, unsigned short port)
253 * Process the RPC request. 253 * Process the RPC request.
254 */ 254 */
255int 255int
256svc_process(struct svc_serv *serv, struct svc_rqst *rqstp) 256svc_process(struct svc_rqst *rqstp)
257{ 257{
258 struct svc_program *progp; 258 struct svc_program *progp;
259 struct svc_version *versp = NULL; /* compiler food */ 259 struct svc_version *versp = NULL; /* compiler food */
260 struct svc_procedure *procp = NULL; 260 struct svc_procedure *procp = NULL;
261 struct kvec * argv = &rqstp->rq_arg.head[0]; 261 struct kvec * argv = &rqstp->rq_arg.head[0];
262 struct kvec * resv = &rqstp->rq_res.head[0]; 262 struct kvec * resv = &rqstp->rq_res.head[0];
263 struct svc_serv *serv = rqstp->rq_server;
263 kxdrproc_t xdr; 264 kxdrproc_t xdr;
264 __be32 *statp; 265 __be32 *statp;
265 u32 dir, prog, vers, proc; 266 u32 dir, prog, vers, proc;
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c
index c6be67a86ae7..bc9bd189a540 100644
--- a/net/sunrpc/svcsock.c
+++ b/net/sunrpc/svcsock.c
@@ -1166,9 +1166,10 @@ svc_sock_update_bufs(struct svc_serv *serv)
1166 * Receive the next request on any socket. 1166 * Receive the next request on any socket.
1167 */ 1167 */
1168int 1168int
1169svc_recv(struct svc_serv *serv, struct svc_rqst *rqstp, long timeout) 1169svc_recv(struct svc_rqst *rqstp, long timeout)
1170{ 1170{
1171 struct svc_sock *svsk =NULL; 1171 struct svc_sock *svsk =NULL;
1172 struct svc_serv *serv = rqstp->rq_server;
1172 int len; 1173 int len;
1173 int pages; 1174 int pages;
1174 struct xdr_buf *arg; 1175 struct xdr_buf *arg;