summaryrefslogtreecommitdiff
path: root/fs/nfs/callback.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-12 17:21:37 +0300
committerChristoph Hellwig <hch@lst.de>2017-05-15 18:42:31 +0300
commite9679189e34b25a1b9aa77fe37d331559d1544af (patch)
treeba2770a70f819a09bbcf9432a37c91b695a131cf /fs/nfs/callback.c
parent860bda29b99afdc072a7a796fe81185f7ae85deb (diff)
downloadlinux-e9679189e34b25a1b9aa77fe37d331559d1544af.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 'fs/nfs/callback.c')
-rw-r--r--fs/nfs/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback.c b/fs/nfs/callback.c
index 73a1f928226c..34323877ec13 100644
--- a/fs/nfs/callback.c
+++ b/fs/nfs/callback.c
@@ -439,7 +439,7 @@ static int nfs_callback_authenticate(struct svc_rqst *rqstp)
/*
* Define NFS4 callback program
*/
-static struct svc_version *nfs4_callback_version[] = {
+static const struct svc_version *nfs4_callback_version[] = {
[1] = &nfs4_callback_version1,
[4] = &nfs4_callback_version4,
};