diff options
author | NeilBrown <neilb@suse.com> | 2018-12-03 11:30:30 +1100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-12-19 13:52:45 -0500 |
commit | 1a80810fbf238e6dbaaaa5262a76d328ace21376 (patch) | |
tree | 1c1c3331bb9345c2418d044d19f3ee0c7e7a3992 /fs/nfs/client.c | |
parent | 8276c902bbe95d628f48a7fdc13c71e265992085 (diff) | |
download | linux-1a80810fbf238e6dbaaaa5262a76d328ace21376.tar.bz2 |
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>
Diffstat (limited to 'fs/nfs/client.c')
0 files changed, 0 insertions, 0 deletions