aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svcauth_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/svcauth_unix.c')
-rw-r--r--net/sunrpc/svcauth_unix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sunrpc/svcauth_unix.c b/net/sunrpc/svcauth_unix.c
index c8cb5dc8d871..caae662f9fa3 100644
--- a/net/sunrpc/svcauth_unix.c
+++ b/net/sunrpc/svcauth_unix.c
@@ -415,7 +415,7 @@ svcauth_unix_info_release(struct svc_xprt *xpt)
415 415
416struct unix_gid { 416struct unix_gid {
417 struct cache_head h; 417 struct cache_head h;
418 uid_t uid; 418 kuid_t uid;
419 struct group_info *gi; 419 struct group_info *gi;
420}; 420};
421 421
@@ -475,7 +475,7 @@ static int unix_gid_upcall(struct cache_detail *cd, struct cache_head *h)
475 return sunrpc_cache_pipe_upcall(cd, h, unix_gid_request); 475 return sunrpc_cache_pipe_upcall(cd, h, unix_gid_request);
476} 476}
477 477
478static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, uid_t uid); 478static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, kuid_t uid);
479 479
480static int unix_gid_parse(struct cache_detail *cd, 480static int unix_gid_parse(struct cache_detail *cd,
481 char *mesg, int mlen) 481 char *mesg, int mlen)
@@ -615,7 +615,7 @@ void unix_gid_cache_destroy(struct net *net)
615 cache_destroy_net(cd, net); 615 cache_destroy_net(cd, net);
616} 616}
617 617
618static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, uid_t uid) 618static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, kuid_t uid)
619{ 619{
620 struct unix_gid ug; 620 struct unix_gid ug;
621 struct cache_head *ch; 621 struct cache_head *ch;
@@ -628,7 +628,7 @@ static struct unix_gid *unix_gid_lookup(struct cache_detail *cd, uid_t uid)
628 return NULL; 628 return NULL;
629} 629}
630 630
631static struct group_info *unix_gid_find(uid_t uid, struct svc_rqst *rqstp) 631static struct group_info *unix_gid_find(kuid_t uid, struct svc_rqst *rqstp)
632{ 632{
633 struct unix_gid *ug; 633 struct unix_gid *ug;
634 struct group_info *gi; 634 struct group_info *gi;