summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-12 15:58:06 +0200
committerChristoph Hellwig <hch@lst.de>2017-05-15 17:42:20 +0200
commit02be49f6b7afe3c4acb1bfdc76c0abe3f3a40f90 (patch)
tree1102e70260542c12b607049a8071e88fa9f1dc92 /fs/nfsd
parent499b4988109e91b76f231fb1b4f1e53ec3260686 (diff)
downloadlwn-02be49f6b7afe3c4acb1bfdc76c0abe3f3a40f90.tar.gz
lwn-02be49f6b7afe3c4acb1bfdc76c0abe3f3a40f90.zip
nfsd4: const-ify nfs_cb_version4
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/nfsd')
-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