commit | c551858a884b6d81def3d1528a9002ba97f5d4ad | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon May 08 23:27:10 2017 +0200 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Thu Jul 13 15:57:57 2017 -0400 |
tree | 636970ba560325fd56643680bc0961bf22bfff69 | |
parent | e91ff8e3c4cf0e4227fddabec87683401fc657ac [diff] |
sunrpc: move p_count out of struct rpc_procinfo p_count is the only writeable memeber of struct rpc_procinfo, which is a good candidate to be const-ified as it contains function pointers. This patch moves it into out out struct rpc_procinfo, and into a separate writable array that is pointed to by struct rpc_version and indexed by p_statidx. Signed-off-by: Christoph Hellwig <hch@lst.de>