* Common routine for processing the RPC request.
*/
static int
-svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv)
+svc_process_common(struct svc_rqst *rqstp, struct kvec *resv)
{
struct svc_program *progp;
const struct svc_procedure *procp = NULL;
return 0;
err_short_len:
- svc_printk(rqstp, "short len %zd, dropping request\n",
- argv->iov_len);
+ svc_printk(rqstp, "short len %u, dropping request\n",
+ rqstp->rq_arg.len);
goto close_xprt;
err_bad_rpc:
dir = svc_getu32(argv);
if (dir != rpc_call)
goto out_baddir;
- if (!svc_process_common(rqstp, argv, resv))
+ if (!svc_process_common(rqstp, resv))
goto out_drop;
return svc_send(rqstp);
svc_getnl(argv); /* CALLDIR */
/* Parse and execute the bc call */
- proc_error = svc_process_common(rqstp, argv, resv);
+ proc_error = svc_process_common(rqstp, resv);
atomic_dec(&req->rq_xprt->bc_slot_count);
if (!proc_error) {