diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-01 16:31:17 -0800 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2013-02-13 06:15:16 -0800 |
commit | 7eaf040b720bc8c0ce5cd49151ca194ca2d56842 (patch) | |
tree | 85ea36dccdad8fed0da5e4e0277ecc3d47dc142b /net/sunrpc/auth_unix.c | |
parent | bf37f794372d5b8fda66702e1f3e70d4f07b6533 (diff) | |
download | linux-stable-7eaf040b720bc8c0ce5cd49151ca194ca2d56842.tar.gz linux-stable-7eaf040b720bc8c0ce5cd49151ca194ca2d56842.tar.bz2 linux-stable-7eaf040b720bc8c0ce5cd49151ca194ca2d56842.zip |
sunrpc: Use kuid_t and kgid_t where appropriate
Convert variables that store uids and gids to be of type
kuid_t and kgid_t instead of type uid_t and gid_t.
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'net/sunrpc/auth_unix.c')
-rw-r--r-- | net/sunrpc/auth_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c index 2f8627082fa7..372d9156f6e3 100644 --- a/net/sunrpc/auth_unix.c +++ b/net/sunrpc/auth_unix.c @@ -18,8 +18,8 @@ struct unx_cred { struct rpc_cred uc_base; - gid_t uc_gid; - gid_t uc_gids[NFS_NGROUPS]; + kgid_t uc_gid; + kgid_t uc_gids[NFS_NGROUPS]; }; #define uc_uid uc_base.cr_uid |