]> 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)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 May 2017 15:42:30 +0000 (17:42 +0200)
commit7fd38af9cae6aef1dfd28a7d1bd214eb5ddb7d53
tree394d5e146fc57c81264231b0ee58e5a23379f6ea
parenteb69853da9459280d89876cfc3da11292e59f7af
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