aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/auth_unix.c')
-rw-r--r--net/sunrpc/auth_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_unix.c b/net/sunrpc/auth_unix.c
index c048eb6deaaf..d4018e5a24c5 100644
--- a/net/sunrpc/auth_unix.c
+++ b/net/sunrpc/auth_unix.c
@@ -80,7 +80,7 @@ unx_match(struct auth_cred *acred, struct rpc_cred *cred, int flags)
80 if (!uid_eq(cred->cr_cred->fsuid, acred->cred->fsuid) || !gid_eq(cred->cr_cred->fsgid, acred->cred->fsgid)) 80 if (!uid_eq(cred->cr_cred->fsuid, acred->cred->fsuid) || !gid_eq(cred->cr_cred->fsgid, acred->cred->fsgid))
81 return 0; 81 return 0;
82 82
83 if (acred->cred && acred->cred->group_info != NULL) 83 if (acred->cred->group_info != NULL)
84 groups = acred->cred->group_info->ngroups; 84 groups = acred->cred->group_info->ngroups;
85 if (groups > UNX_NGROUPS) 85 if (groups > UNX_NGROUPS)
86 groups = UNX_NGROUPS; 86 groups = UNX_NGROUPS;