]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Don't use cred->cr_ops->cr_name in nfs4_proc_setclientid()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 Apr 2008 00:49:28 +0000 (20:49 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:54:53 +0000 (16:54 -0400)
commit4a386182cdb41f1e06073630eb9ed398eaa9f6b4
tree6ea9a772ab677012c52a08c6b32e366d7bf129d4
parent11bedbb46783bc082ff6b93eb668cd4997068bff
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>
fs/nfs/nfs4proc.c
include/linux/sunrpc/auth.h
net/sunrpc/auth_generic.c
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/auth_null.c
net/sunrpc/auth_unix.c