]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
nfsd4: const-ify nfs_cb_version4
authorChristoph Hellwig <hch@lst.de>
Fri, 12 May 2017 13:58:06 +0000 (15:58 +0200)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 13 Jul 2017 19:57:58 +0000 (15:57 -0400)
Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/nfsd/nfs4callback.c

index ac10f78c0fb362f506a13ac2601c2aee2f346cbf..b45083c0f9ae8a78838d84145f71efaf1eab4d89 100644 (file)
@@ -706,7 +706,7 @@ static const struct rpc_procinfo nfs4_cb_procedures[] = {
 };
 
 static unsigned int nfs4_cb_counts[ARRAY_SIZE(nfs4_cb_procedures)];
-static struct rpc_version nfs_cb_version4 = {
+static const struct rpc_version nfs_cb_version4 = {
 /*
  * Note on the callback rpc program version number: despite language in rfc
  * 5661 section 18.36.3 requiring servers to use 4 in this field, the