aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/auth.c')
-rw-r--r--fs/nfsd/auth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfsd/auth.c b/fs/nfsd/auth.c
index a260060042ad..17454b20292e 100644
--- a/fs/nfsd/auth.c
+++ b/fs/nfsd/auth.c
@@ -63,6 +63,9 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp)
/* Each thread allocates its own gi, no race */
groups_sort(gi);
}
+
+ /* Each thread allocates its own gi, no race */
+ groups_sort(gi);
} else {
gi = get_group_info(rqgi);
}