commit | 0becc1181cdba562730be4d4b8a5fcb4368ef527 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon May 08 23:40:27 2017 +0200 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Thu Jul 13 15:58:02 2017 -0400 |
tree | 669da36c991659110215ac703bbf22cf4ce6e94a | |
parent | 72edc37a2c7a30a4bc64889a4eaa8bfd3d308a3a [diff] |
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>