]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sunrpc: move pc_count out of struct svc_procinfo
authorChristoph Hellwig <hch@lst.de>
Mon, 8 May 2017 21:40:27 +0000 (23:40 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:58:02 +0000 (15:58 -0400)
commit0becc1181cdba562730be4d4b8a5fcb4368ef527
tree669da36c991659110215ac703bbf22cf4ce6e94a
parent72edc37a2c7a30a4bc64889a4eaa8bfd3d308a3a
sunrpc: move pc_count out of struct svc_procinfo

pc_count is the only writeable memeber of struct svc_procinfo, which is
a good candidate to be const-ified as it contains function pointers.

This patch moves it into out out struct svc_procinfo, and into a
separate writable array that is pointed to by struct svc_version.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/lockd/svc.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
include/linux/sunrpc/svc.h
net/sunrpc/stats.c
net/sunrpc/svc.c