]> git.baikalelectronics.ru Git - 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)
commitdbbbe354a1df65453134e4ca29c0c0d432fae5bd
tree70ff6480826a2120ee50aef20a9cdf0a2935ee2b
parentee024e28f08c3ab29a5a26ef0eb8c327b7e6d619
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