diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-07 20:49:28 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-04-19 16:54:53 -0400 |
commit | 78ea323be6380a9313e87fe241809e912e8ae401 (patch) | |
tree | 6ea9a772ab677012c52a08c6b32e366d7bf129d4 /net/sunrpc/auth_unix.c | |
parent | 441092415770ddec648800701895913c4bfd60c1 (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_unix.c')
-rw-r--r-- | net/sunrpc/auth_unix.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index 04e936a56fb2..44920b90bdc4 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c | |||
@@ -210,9 +210,7 @@ void __init rpc_init_authunix(void) | |||
210 | const struct rpc_authops authunix_ops = { | 210 | const struct rpc_authops authunix_ops = { |
211 | .owner = THIS_MODULE, | 211 | .owner = THIS_MODULE, |
212 | .au_flavor = RPC_AUTH_UNIX, | 212 | .au_flavor = RPC_AUTH_UNIX, |
213 | #ifdef RPC_DEBUG | ||
214 | .au_name = "UNIX", | 213 | .au_name = "UNIX", |
215 | #endif | ||
216 | .create = unx_create, | 214 | .create = unx_create, |
217 | .destroy = unx_destroy, | 215 | .destroy = unx_destroy, |
218 | .lookup_cred = unx_lookup_cred, | 216 | .lookup_cred = unx_lookup_cred, |