SUNRPC: remove uid and gid from struct auth_cred

Use cred->fsuid and cred->fsgid instead.

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:30 +11:00 committed by Anna Schumaker
parent fc0664fd9b
commit 8276c902bb
7 changed files with 29 additions and 44 deletions

View file

@ -44,11 +44,8 @@ enum {
key will expire soon */
};
/* Work around the lack of a VFS credential */
struct auth_cred {
const struct cred *cred;
kuid_t uid;
kgid_t gid;
const char *principal;
unsigned long ac_flags;
unsigned char machine_cred : 1;