]> git.ipfire.org Git - people/ms/linux.git/commit - fs/nfsd/nfs4xdr.c
sunrpc: properly type pc_release callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 16:48:24 +0000 (18:48 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:23 +0000 (17:42 +0200)
commit8537488b5a2f33980e33f654b0a515304de2b267
tree6132f630283d5fd2c6370c496eae0cd47d51635c
parenta6beb73272b4c0108e41bc7c7b5a447ae6c92863
sunrpc: properly type pc_release callbacks

Drop the p and resp arguments as they are always NULL or 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>
12 files changed:
fs/nfsd/nfs2acl.c
fs/nfsd/nfs3acl.c
fs/nfsd/nfs3proc.c
fs/nfsd/nfs3xdr.c
fs/nfsd/nfs4xdr.c
fs/nfsd/nfsproc.c
fs/nfsd/nfsxdr.c
fs/nfsd/xdr.h
fs/nfsd/xdr3.h
fs/nfsd/xdr4.h
include/linux/sunrpc/svc.h
net/sunrpc/svc.c