sunrpc: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 07:59:45 +0000 (09:59 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:53 +0000 (15:57 -0400)
commit8be9d07f0ca68a188ab448e5fad8ea5d7420f535
treed60b8031a8a0e3f1c3e6e49596c3636abb9c3721
parent0aebdc52ca824c38837a652548028e45da72628f
sunrpc: fix encoder callback prototypes

Declare the p_encode callbacks with the proper prototype instead of
casting to kxdreproc_t and losing all type safety.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/rpcb_clnt.c