diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-08 02:49:28 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-19 22:54:53 +0200 |
commit | 78ea323be6380a9313e87fe241809e912e8ae401 (patch) | |
tree | 6ea9a772ab677012c52a08c6b32e366d7bf129d4 /net/sunrpc/auth_generic.c | |
parent | nfs: fix printout of multiword bitfields (diff) | |
download | linux-78ea323be6380a9313e87fe241809e912e8ae401.tar.xz linux-78ea323be6380a9313e87fe241809e912e8ae401.zip |
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_generic.c')
-rw-r--r-- | net/sunrpc/auth_generic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/auth_generic.c b/net/sunrpc/auth_generic.c index 6a3f77c9e4d3..b6f124c85072 100644 --- a/net/sunrpc/auth_generic.c +++ b/net/sunrpc/auth_generic.c @@ -136,9 +136,7 @@ static struct rpc_cred_cache generic_cred_cache = { static const struct rpc_authops generic_auth_ops = { .owner = THIS_MODULE, -#ifdef RPC_DEBUG .au_name = "Generic", -#endif .lookup_cred = generic_lookup_cred, .crcreate = generic_create_cred, }; |