NFS: Extract the xdr_init_encode/decode() calls from decode_compound
authorChuck Lever <chuck.lever@oracle.com>
Thu, 15 Jul 2021 19:52:37 +0000 (15:52 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 10 Aug 2021 18:18:35 +0000 (14:18 -0400)
commit89ef17b6636f2ae3e4e4041f53be7c0118b4b6c1
treed22c4cffb0f745b0a45a3e331c55d9ce20ce87d6
parentc35a810ce59524971c4a3b45faed4d0121e5a305
NFS: Extract the xdr_init_encode/decode() calls from decode_compound

Clean up: Move the xdr_init_encode() and xdr_init_decode() calls
into the dispatcher, just like the NFSD and lockd dispatchers.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/callback_xdr.c