]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: properly type pc_decode callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 17:01:48 +0000 (19:01 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:00 +0000 (15:58 -0400)
commit289119d2bafb59a9248284a695547895dfaf9577
treeffaf4738edc082371a54162e032bbef0155a64eb
parent6fa88baecb14f0b19c65707e86768fd00a7a70cf
sunrpc: properly type pc_decode callbacks

Drop the argp 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>
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