nfsd: nfsd_excred(): Remove an obsolete comment
This comment has been obsoleted by commit be1f7435ef ("kern: start
tracking cr_gid outside of cr_groups[].").
No functional change.
MFC after: 5 days
MFC to: stable/15
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52264
This commit is contained in:
@@ -3478,11 +3478,6 @@ nfsd_excred(struct nfsrv_descript *nd, struct nfsexstuff *exp,
|
||||
(nd->nd_flag & ND_AUTHNONE) != 0) {
|
||||
nd->nd_cred->cr_uid = credanon->cr_uid;
|
||||
nd->nd_cred->cr_gid = credanon->cr_gid;
|
||||
/*
|
||||
* 'credanon' is already a 'struct ucred' that was built
|
||||
* internally with calls to crsetgroups_and_egid(), so
|
||||
* we don't need a fallback here.
|
||||
*/
|
||||
crsetgroups(nd->nd_cred, credanon->cr_ngroups,
|
||||
credanon->cr_groups);
|
||||
} else if ((nd->nd_flag & ND_GSS) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user