sunrpc: properly type argument to kxdreproc_t
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 07:31:19 +0000 (09:31 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:07 +0000 (17:42 +0200)
commitc512f36b581862df20acef050c3e1a875166bd6f
treec8e22c04c5a0dbefa92460ac179f50b239e504af
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
sunrpc: properly type argument to kxdreproc_t

Pass struct rpc_request as the first argument instead of an untyped blob,
and mark the data object as const.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
include/linux/sunrpc/xdr.h
net/sunrpc/clnt.c