]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: properly type pc_release callbacks
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 16:48:24 +0000 (18:48 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:59 +0000 (15:57 -0400)
commit6fa88baecb14f0b19c65707e86768fd00a7a70cf
tree180518631613f9818feff27008f5ef08cb1622f6
parentdbbbe354a1df65453134e4ca29c0c0d432fae5bd
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