diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-23 20:17:58 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-10 23:40:34 -0400 |
commit | f1c0a8615090359d57e096157feb9f900cbb233c (patch) | |
tree | 2d76448a7c83a45944161a3d966a42f922c543dd /net/sunrpc/auth_gss/auth_gss.c | |
parent | de7a8ce38aea529876db3890b61947bc4bc004da (diff) |
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>
Diffstat (limited to 'net/sunrpc/auth_gss/auth_gss.c')
-rw-r--r-- | net/sunrpc/auth_gss/auth_gss.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c index 459dc9b1d1ad..177a9e413c0a 100644 --- a/net/sunrpc/auth_gss/auth_gss.c +++ b/net/sunrpc/auth_gss/auth_gss.c | |||
@@ -54,9 +54,9 @@ | |||
54 | #include <linux/sunrpc/gss_api.h> | 54 | #include <linux/sunrpc/gss_api.h> |
55 | #include <asm/uaccess.h> | 55 | #include <asm/uaccess.h> |
56 | 56 | ||
57 | static struct rpc_authops authgss_ops; | 57 | static const struct rpc_authops authgss_ops; |
58 | 58 | ||
59 | static struct rpc_credops gss_credops; | 59 | static const struct rpc_credops gss_credops; |
60 | 60 | ||
61 | #ifdef RPC_DEBUG | 61 | #ifdef RPC_DEBUG |
62 | # define RPCDBG_FACILITY RPCDBG_AUTH | 62 | # define RPCDBG_FACILITY RPCDBG_AUTH |
@@ -1193,7 +1193,7 @@ out: | |||
1193 | return status; | 1193 | return status; |
1194 | } | 1194 | } |
1195 | 1195 | ||
1196 | static struct rpc_authops authgss_ops = { | 1196 | static const struct rpc_authops authgss_ops = { |
1197 | .owner = THIS_MODULE, | 1197 | .owner = THIS_MODULE, |
1198 | .au_flavor = RPC_AUTH_GSS, | 1198 | .au_flavor = RPC_AUTH_GSS, |
1199 | #ifdef RPC_DEBUG | 1199 | #ifdef RPC_DEBUG |
@@ -1205,7 +1205,7 @@ static struct rpc_authops authgss_ops = { | |||
1205 | .crcreate = gss_create_cred | 1205 | .crcreate = gss_create_cred |
1206 | }; | 1206 | }; |
1207 | 1207 | ||
1208 | static struct rpc_credops gss_credops = { | 1208 | static const struct rpc_credops gss_credops = { |
1209 | .cr_name = "AUTH_GSS", | 1209 | .cr_name = "AUTH_GSS", |
1210 | .crdestroy = gss_destroy_cred, | 1210 | .crdestroy = gss_destroy_cred, |
1211 | .cr_init = gss_cred_init, | 1211 | .cr_init = gss_cred_init, |