summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
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 /include/linux/sunrpc
parent441092415770ddec648800701895913c4bfd60c1 (diff)
downloadlinux-78ea323be6380a9313e87fe241809e912e8ae401.tar.gz
linux-78ea323be6380a9313e87fe241809e912e8ae401.tar.bz2
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 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/auth.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h
index e93cd8aa3eb6..a19c3af933ca 100644
--- a/include/linux/sunrpc/auth.h
+++ b/include/linux/sunrpc/auth.h
@@ -96,9 +96,7 @@ struct rpc_auth {
struct rpc_authops {
struct module *owner;
rpc_authflavor_t au_flavor; /* flavor (RPC_AUTH_*) */
-#ifdef RPC_DEBUG
char * au_name;
-#endif
struct rpc_auth * (*create)(struct rpc_clnt *, rpc_authflavor_t);
void (*destroy)(struct rpc_auth *);