SUNRPC discard cr_uid from struct rpc_cred.

Just use ->cr_cred->fsuid directly.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
NeilBrown
2018-12-03 11:30:31 +11:00
committed by Anna Schumaker
parent 2edd8d746e
commit 04d1532bd0
3 changed files with 6 additions and 9 deletions

View File

@@ -58,8 +58,6 @@ struct rpc_cred {
refcount_t cr_count; /* ref count */
const struct cred *cr_cred;
kuid_t cr_uid;
/* per-flavor data */
};
#define RPCAUTH_CRED_NEW 0