]> git.baikalelectronics.ru Git - kernel.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)
commit379087c060a1fbd15ca6a8ea1f93bed6f70dfd84
tree669da36c991659110215ac703bbf22cf4ce6e94a
parent9ba5ca90fc154aa43c6ab287b08b411499de2d06
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