diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-01-02 20:05:30 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-02-20 17:20:09 +0300 |
commit | dba5eaa46b0282cb9607d362c8887dfcb44bfd2e (patch) | |
tree | cf848b721f2eab3080ff84fefca5f5e1145794cb /net/sunrpc/svc.c | |
parent | f78e44545814b26ab6af7cdd5b022293ceac867e (diff) | |
download | linux-dba5eaa46b0282cb9607d362c8887dfcb44bfd2e.tar.xz |
SUNRPC: Push svcxdr_init_decode() into svc_process_common()
Now that all vs_dispatch functions invoke svcxdr_init_decode(), it
is common code and can be pushed down into the generic RPC server.
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index f06622814a95..8d1700e2ce1d 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -1302,6 +1302,7 @@ svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) if (progp == NULL) goto err_bad_prog; + svcxdr_init_decode(rqstp); rpc_stat = progp->pg_init_request(rqstp, progp, &process); switch (rpc_stat) { case rpc_success: |