Skip to content
Commit 0becc118 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Anna Schumaker
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
parent 72edc37a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment