summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-12 17:21:37 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-13 22:58:03 +0300
commitaa8217d5dcb1db594d816794ef6ab434ebf3e127 (patch)
tree3f8a1db84ca12c1868e48d0ae7c3b1952eb183e5 /include
parentb9c744c19c441f306239ac3e60a2a95b40d698f8 (diff)
downloadlinux-aa8217d5dcb1db594d816794ef6ab434ebf3e127.tar.xz
sunrpc: mark all struct svc_version instances as const
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sunrpc/svc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index 992ea3419795..eec04982a7ea 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -384,7 +384,7 @@ struct svc_program {
unsigned int pg_lovers; /* lowest version */
unsigned int pg_hivers; /* highest version */
unsigned int pg_nvers; /* number of versions */
- struct svc_version ** pg_vers; /* version array */
+ const struct svc_version **pg_vers; /* version array */
char * pg_name; /* service name */
char * pg_class; /* class name: services sharing authentication */
struct svc_stat * pg_stats; /* rpc statistics */