aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-12 15:58:06 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-13 15:57:58 -0400
commit39d43f75c6a1c214e035c143628cd8a985484bad (patch)
tree9d2d9f5f4d9d479a198c18bb95f45ef83334e45e /fs
parentsunrpc: mark all struct rpc_procinfo instances as const (diff)
downloadwireguard-linux-39d43f75c6a1c214e035c143628cd8a985484bad.tar.xz
wireguard-linux-39d43f75c6a1c214e035c143628cd8a985484bad.zip
nfsd4: const-ify nfs_cb_version4
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfsd/nfs4callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index ac10f78c0fb3..b45083c0f9ae 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -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