]> git.ipfire.org Git - people/ms/linux.git/commit - fs/nfsd/nfs4proc.c
sunrpc: properly type pc_encode callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 17:42:02 +0000 (19:42 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:25 +0000 (17:42 +0200)
commit63f8de37951a64cc24479eafd33085537e088075
treee572e2542ef9370c9dfec6795660d52b72f77712
parent026fec7e7c4723b5f26a753bbcad69f68c8299d4
sunrpc: properly type pc_encode callbacks

Drop the resp argument as it can trivially be derived from the rqstp
argument.  With that all functions now have the same prototype, and we
can remove the unsafe casting to kxdrproc_t.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>
21 files changed:
fs/lockd/svc4proc.c
fs/lockd/svcproc.c
fs/lockd/xdr.c
fs/lockd/xdr4.c
fs/nfs/callback_xdr.c
fs/nfsd/nfs2acl.c
fs/nfsd/nfs3acl.c
fs/nfsd/nfs3proc.c
fs/nfsd/nfs3xdr.c
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsproc.c
fs/nfsd/nfssvc.c
fs/nfsd/nfsxdr.c
fs/nfsd/xdr.h
fs/nfsd/xdr3.h
fs/nfsd/xdr4.h
include/linux/lockd/xdr.h
include/linux/lockd/xdr4.h
include/linux/sunrpc/svc.h
net/sunrpc/svc.c