nfsd4: const-ify nfs_cb_version4

Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Christoph Hellwig 2017-05-12 15:58:06 +02:00
parent 499b498810
commit 02be49f6b7
1 changed files with 1 additions and 1 deletions

View 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 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 * 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 * 5661 section 18.36.3 requiring servers to use 4 in this field, the