android_kernel_msm-6.1_noth.../include/linux/sunrpc
NeilBrown 1a80810fbf SUNRPC: remove machine_cred field from struct auth_cred
The cred is a machine_cred iff ->principal is set, so there is no
need for the extra flag.

There is one case which deserves some
explanation. nfs4_root_machine_cred() calls rpc_lookup_machine_cred()
with a NULL principal name which results in not getting a machine
credential, but getting a root credential instead.
This appears to be what is expected of the caller, and is
clearly the result provided by both auth_unix and auth_gss
which already ignore the flag.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2018-12-19 13:52:45 -05:00
..
addr.h
auth.h SUNRPC: remove machine_cred field from struct auth_cred 2018-12-19 13:52:45 -05:00
auth_gss.h SUNRPC: The transmitted message must lie in the RPCSEC window of validity 2018-09-30 15:35:13 -04:00
bc_xprt.h SUNRPC: Fix up the back channel transmit 2018-09-30 15:35:15 -04:00
cache.h SUNRPC: Replace the cache_detail->hash_lock with a regular spinlock 2018-10-29 16:58:04 -04:00
clnt.h NFSv4 client live hangs after live data migration recovery 2018-07-31 12:53:40 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h NFS client bugfixes for Linux 4.20 2018-11-04 08:20:09 -08:00
gss_krb5_enctypes.h
metrics.h sunrpc: Change rpc_print_iostats to rpc_clnt_show_stats and handle rpc_clnt clones 2018-07-31 12:53:35 -04:00
msg_prot.h
rpc_pipe_fs.h remove rpc_rmdir() 2018-04-16 14:20:26 -04:00
rpc_rdma.h xprtrdma: Add proper SPDX tags for NetApp-contributed source 2018-05-07 09:20:03 -04:00
sched.h SUNRPC: Fix priority queue fairness 2018-09-30 15:35:16 -04:00
stats.h
svc.h NFSD: Handle full-length symlinks 2018-08-09 16:11:21 -04:00
svc_rdma.h svcrdma: Increase the default connection credit limit 2018-10-29 16:58:04 -04:00
svc_xprt.h SUNRPC: Clean up transport write space handling 2018-09-30 15:35:15 -04:00
svcauth.h SUNRPC: Add lockless lookup of the server's auth domain 2018-10-03 11:32:59 -04:00
svcauth_gss.h
svcsock.h
timer.h
types.h
xdr.h SUNRPC: Fix a memory leak in call_encode() 2018-12-02 09:43:57 -05:00
xprt.h SUNRPC: Add a bvec array to struct xdr_buf for use with iovec_iter() 2018-09-30 15:35:16 -04:00
xprtmultipath.h
xprtrdma.h xprtrdma: Add proper SPDX tags for NetApp-contributed source 2018-05-07 09:20:03 -04:00
xprtsock.h SUNRPC: Simplify TCP receive code by switching to using iterators 2018-09-30 15:35:16 -04:00