[PATCH 08/23] SUNRPC: remove machine_cred field from struct auth_cred

2018-12-02 Thread NeilBrown
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 cr

[PATCH 08/23] SUNRPC: remove machine_cred field from struct auth_cred

2018-11-06 Thread NeilBrown
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 cr