commit | 7fd38af9cae6aef1dfd28a7d1bd214eb5ddb7d53 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon May 08 23:40:27 2017 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Mon May 15 17:42:30 2017 +0200 |
tree | 394d5e146fc57c81264231b0ee58e5a23379f6ea | |
parent | eb69853da9459280d89876cfc3da11292e59f7af [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>