]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sunrpc: properly type pc_func callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 15:35:49 +0000 (17:35 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:23 +0000 (17:42 +0200)
commita6beb73272b4c0108e41bc7c7b5a447ae6c92863
tree65c4a0b3d6aa098b16c536c902933133548c27b0
parent9482c9c15c29deb5e49ff475710f94dea0842328
sunrpc: properly type pc_func callbacks

Drop the argp and resp arguments as they 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 svc_procfunc as well as the
svc_procfunc typedef itself.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/lockd/svc4proc.c
fs/lockd/svcproc.c
fs/nfs/callback_xdr.c
fs/nfsd/nfs2acl.c
fs/nfsd/nfs3acl.c
fs/nfsd/nfs3proc.c
fs/nfsd/nfs4proc.c
fs/nfsd/nfsproc.c
fs/nfsd/nfssvc.c
include/linux/sunrpc/svc.h
net/sunrpc/svc.c