diff options
Diffstat (limited to 'net/sunrpc/auth_unix.c')
-rw-r--r-- | net/sunrpc/auth_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index e54782e75d59..6600c7ad72a9 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c | |||
@@ -34,7 +34,7 @@ struct unx_cred { | |||
34 | 34 | ||
35 | static struct rpc_auth unix_auth; | 35 | static struct rpc_auth unix_auth; |
36 | static struct rpc_cred_cache unix_cred_cache; | 36 | static struct rpc_cred_cache unix_cred_cache; |
37 | static struct rpc_credops unix_credops; | 37 | static const struct rpc_credops unix_credops; |
38 | 38 | ||
39 | static struct rpc_auth * | 39 | static struct rpc_auth * |
40 | unx_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor) | 40 | unx_create(struct rpc_clnt *clnt, rpc_authflavor_t flavor) |
@@ -205,7 +205,7 @@ unx_validate(struct rpc_task *task, __be32 *p) | |||
205 | return p; | 205 | return p; |
206 | } | 206 | } |
207 | 207 | ||
208 | struct rpc_authops authunix_ops = { | 208 | const struct rpc_authops authunix_ops = { |
209 | .owner = THIS_MODULE, | 209 | .owner = THIS_MODULE, |
210 | .au_flavor = RPC_AUTH_UNIX, | 210 | .au_flavor = RPC_AUTH_UNIX, |
211 | #ifdef RPC_DEBUG | 211 | #ifdef RPC_DEBUG |
@@ -233,7 +233,7 @@ struct rpc_auth unix_auth = { | |||
233 | }; | 233 | }; |
234 | 234 | ||
235 | static | 235 | static |
236 | struct rpc_credops unix_credops = { | 236 | const struct rpc_credops unix_credops = { |
237 | .cr_name = "AUTH_UNIX", | 237 | .cr_name = "AUTH_UNIX", |
238 | .crdestroy = unx_destroy_cred, | 238 | .crdestroy = unx_destroy_cred, |
239 | .crmatch = unx_match, | 239 | .crmatch = unx_match, |