aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/auth_gss.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2008-04-07 20:49:28 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-04-19 16:54:53 -0400
commit78ea323be6380a9313e87fe241809e912e8ae401 (patch)
tree6ea9a772ab677012c52a08c6b32e366d7bf129d4 /net/sunrpc/auth_gss/auth_gss.c
parent441092415770ddec648800701895913c4bfd60c1 (diff)
NFSv4: Don't use cred->cr_ops->cr_name in nfs4_proc_setclientid()
With the recent change to generic creds, we can no longer use cred->cr_ops->cr_name to distinguish between RPCSEC_GSS principals and AUTH_SYS/AUTH_NULL identities. Replace it with the rpc_authops->au_name instead... 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.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index 55948cd5ea55..7567eb95823b 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -1287,9 +1287,7 @@ out:
1287static const struct rpc_authops authgss_ops = { 1287static const struct rpc_authops authgss_ops = {
1288 .owner = THIS_MODULE, 1288 .owner = THIS_MODULE,
1289 .au_flavor = RPC_AUTH_GSS, 1289 .au_flavor = RPC_AUTH_GSS,
1290#ifdef RPC_DEBUG
1291 .au_name = "RPCSEC_GSS", 1290 .au_name = "RPCSEC_GSS",
1292#endif
1293 .create = gss_create, 1291 .create = gss_create,
1294 .destroy = gss_destroy, 1292 .destroy = gss_destroy,
1295 .lookup_cred = gss_lookup_cred, 1293 .lookup_cred = gss_lookup_cred,