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>
This commit is contained in:
Trond Myklebust
2008-04-07 20:49:28 -04:00
parent 4410924157
commit 78ea323be6
6 changed files with 1 additions and 11 deletions

View File

@@ -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,
};