diff options
Diffstat (limited to 'include/linux/sunrpc/auth.h')
-rw-r--r-- | include/linux/sunrpc/auth.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/sunrpc/auth.h b/include/linux/sunrpc/auth.h index f25ba922baaf..58fda1c3c783 100644 --- a/include/linux/sunrpc/auth.h +++ b/include/linux/sunrpc/auth.h | |||
@@ -17,14 +17,15 @@ | |||
17 | 17 | ||
18 | #include <linux/atomic.h> | 18 | #include <linux/atomic.h> |
19 | #include <linux/rcupdate.h> | 19 | #include <linux/rcupdate.h> |
20 | #include <linux/uidgid.h> | ||
20 | 21 | ||
21 | /* size of the nodename buffer */ | 22 | /* size of the nodename buffer */ |
22 | #define UNX_MAXNODENAME 32 | 23 | #define UNX_MAXNODENAME 32 |
23 | 24 | ||
24 | /* Work around the lack of a VFS credential */ | 25 | /* Work around the lack of a VFS credential */ |
25 | struct auth_cred { | 26 | struct auth_cred { |
26 | uid_t uid; | 27 | kuid_t uid; |
27 | gid_t gid; | 28 | kgid_t gid; |
28 | struct group_info *group_info; | 29 | struct group_info *group_info; |
29 | const char *principal; | 30 | const char *principal; |
30 | unsigned char machine_cred : 1; | 31 | unsigned char machine_cred : 1; |
@@ -48,7 +49,7 @@ struct rpc_cred { | |||
48 | unsigned long cr_flags; /* various flags */ | 49 | unsigned long cr_flags; /* various flags */ |
49 | atomic_t cr_count; /* ref count */ | 50 | atomic_t cr_count; /* ref count */ |
50 | 51 | ||
51 | uid_t cr_uid; | 52 | kuid_t cr_uid; |
52 | 53 | ||
53 | /* per-flavor data */ | 54 | /* per-flavor data */ |
54 | }; | 55 | }; |