diff options
| author | NeilBrown <neilb@suse.com> | 2018-12-02 19:30:30 -0500 |
|---|---|---|
| committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-12-19 13:52:45 -0500 |
| commit | 8276c902bbe95d628f48a7fdc13c71e265992085 (patch) | |
| tree | c87b84c351288acff7f391b6e03fcd75a9c33c8f /include | |
| parent | fc0664fd9bccafb00bd2dfe0d5218147994f81ee (diff) | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sunrpc/auth.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index 30eb9b9b9c8c..831ea65bd9f4 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
| @@ -44,11 +44,8 @@ enum { | |||
| 44 | key will expire soon */ | 44 | key will expire soon */ |
| 45 | }; | 45 | }; |
| 46 | 46 | ||
| 47 | /* Work around the lack of a VFS credential */ | ||
| 48 | struct auth_cred { | 47 | struct auth_cred { |
| 49 | const struct cred *cred; | 48 | const struct cred *cred; |
| 50 | kuid_t uid; | ||
| 51 | kgid_t gid; | ||
| 52 | const char *principal; | 49 | const char *principal; |
| 53 | unsigned long ac_flags; | 50 | unsigned long ac_flags; |
| 54 | unsigned char machine_cred : 1; | 51 | unsigned char machine_cred : 1; |
