SUNRPC: Move svcxdr_init_encode() into ->accept methods
authorChuck Lever <chuck.lever@oracle.com>
Sun, 8 Jan 2023 16:29:51 +0000 (11:29 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 20 Feb 2023 14:20:28 +0000 (09:20 -0500)
commitfaca8978163bf8f6c0f3043b0f03cf3fe7bf9d64
tree988a251873c1428edae40e2142fcb56409f7adb5
parent8dd41d70f331c342842e8d349d7a1f73b0ba7ccd
SUNRPC: Move svcxdr_init_encode() into ->accept methods

Refactor: So that the overhaul of each ->accept method can be done
in separate smaller patches, temporarily move the
svcxdr_init_encode() call into those methods.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/svc.c
net/sunrpc/svcauth_unix.c