]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sunrpc: properly type pc_func callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 15:35:49 +0000 (17:35 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:59 +0000 (15:57 -0400)
commit1c8a5409f3c4748ff42c1721d9578dd03091f378
tree70ff6480826a2120ee50aef20a9cdf0a2935ee2b
parent36ba89c2a40fe138898b394106205a3853ef2a4d
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