mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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>
This commit is contained in:
parent
860bda29b9
commit
e9679189e3
14 changed files with 65 additions and 65 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue