summaryrefslogtreecommitdiff
path: root/net/sunrpc/auth_gss/gss_rpc_xdr.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-08 14:54:06 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-13 15:57:54 -0400
commitdf179381223f299b6c16ae134b5853aeee94b09e (patch)
tree05b2067b8cffba8e939515dbbd1654e45ea52384 /net/sunrpc/auth_gss/gss_rpc_xdr.h
parent843efb7d7d98364645a7f23eaa13a0649075815f (diff)
downloadlwn-df179381223f299b6c16ae134b5853aeee94b09e.tar.gz
lwn-df179381223f299b6c16ae134b5853aeee94b09e.zip
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>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_rpc_xdr.h')
-rw-r--r--net/sunrpc/auth_gss/gss_rpc_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_rpc_xdr.h b/net/sunrpc/auth_gss/gss_rpc_xdr.h
index 9d88c6239f01..87cd719ca0ad 100644
--- a/net/sunrpc/auth_gss/gss_rpc_xdr.h
+++ b/net/sunrpc/auth_gss/gss_rpc_xdr.h
@@ -179,7 +179,7 @@ struct gssx_res_accept_sec_context {
#define gssx_dec_init_sec_context NULL
void gssx_enc_accept_sec_context(struct rpc_rqst *req,
struct xdr_stream *xdr,
- struct gssx_arg_accept_sec_context *args);
+ const void *data);
int gssx_dec_accept_sec_context(struct rpc_rqst *rqstp,
struct xdr_stream *xdr,
struct gssx_res_accept_sec_context *res);