diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-01-08 17:29:44 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2023-02-20 15:20:27 +0100 |
commit | 8dd41d70f331c342842e8d349d7a1f73b0ba7ccd (patch) | |
tree | 45421e5e073e513651a08fb992215a95e940db21 /fs/lockd | |
parent | SUNRPC: Add XDR encoding helper for opaque_auth (diff) | |
download | linux-8dd41d70f331c342842e8d349d7a1f73b0ba7ccd.tar.xz linux-8dd41d70f331c342842e8d349d7a1f73b0ba7ccd.zip |
SUNRPC: Push svcxdr_init_encode() into svc_process_common()
Now that all vs_dispatch functions invoke svcxdr_init_encode(), 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 e56d85335599..642e394e7a2d 100644 --- a/fs/lockd/svc.c +++ b/fs/lockd/svc.c @@ -704,7 +704,6 @@ static int nlmsvc_dispatch(struct svc_rqst *rqstp, __be32 *statp) if (*statp != rpc_success) return 1; - svcxdr_init_encode(rqstp); if (!procp->pc_encode(rqstp, &rqstp->rq_res_stream)) goto out_encode_err; |