diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-01-02 18:05:30 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-02-20 15:20:09 +0100 |
commit | dba5eaa46b0282cb9607d362c8887dfcb44bfd2e (patch) | |
tree | cf848b721f2eab3080ff84fefca5f5e1145794cb /fs/lockd | |
parent | NFS: nfs_encode_fh: Remove S_AUTOMOUNT check (diff) | |
download | linux-dba5eaa46b0282cb9607d362c8887dfcb44bfd2e.tar.xz linux-dba5eaa46b0282cb9607d362c8887dfcb44bfd2e.zip |
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 'fs/lockd')
-rw-r--r-- | fs/lockd/svc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/lockd/svc.c b/fs/lockd/svc.c index 59ef8a1f843f..e56d85335599 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -695,7 +695,6 @@ static int nlmsvc_dispatch(struct svc_rqst *rqstp, __be32 *statp) { const struct svc_procedure *procp = rqstp->rq_procinfo; - svcxdr_init_decode(rqstp); if (!procp->pc_decode(rqstp, &rqstp->rq_arg_stream)) goto out_decode_err; |