sunrpc/auth_gss: nfsd: fix encoder callback prototypes
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 12:54:06 +0000 (14:54 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:11 +0000 (17:42 +0200)
commit89daf3602310b46ddf1bea4873be737d8781fc39
tree6fd9cbd689fcd28de3e3973a438847fa99dcf582
parent1502c81b443d70f2e3009aef96428ffa94e2e29d
sunrpc/auth_gss: nfsd: 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/auth_gss/gss_rpc_upcall.c
net/sunrpc/auth_gss/gss_rpc_xdr.c
net/sunrpc/auth_gss/gss_rpc_xdr.h