mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 21:21:09 +00:00
SUNRPC: Mark auth and cred operation tables as constant.
Also do the same for gss_api operation tables. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
de7a8ce38a
commit
f1c0a86150
8 changed files with 22 additions and 25 deletions
|
@ -101,7 +101,7 @@ nul_validate(struct rpc_task *task, __be32 *p)
|
|||
return p;
|
||||
}
|
||||
|
||||
struct rpc_authops authnull_ops = {
|
||||
const struct rpc_authops authnull_ops = {
|
||||
.owner = THIS_MODULE,
|
||||
.au_flavor = RPC_AUTH_NULL,
|
||||
#ifdef RPC_DEBUG
|
||||
|
@ -122,7 +122,7 @@ struct rpc_auth null_auth = {
|
|||
};
|
||||
|
||||
static
|
||||
struct rpc_credops null_credops = {
|
||||
const struct rpc_credops null_credops = {
|
||||
.cr_name = "AUTH_NULL",
|
||||
.crdestroy = nul_destroy_cred,
|
||||
.crmatch = nul_match,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue