Loading fs/nfsd/auth.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -49,6 +49,8 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) new->fsuid = exp->ex_anon_uid; new->fsuid = exp->ex_anon_uid; new->fsgid = exp->ex_anon_gid; new->fsgid = exp->ex_anon_gid; gi = groups_alloc(0); gi = groups_alloc(0); if (!gi) goto oom; } else if (flags & NFSEXP_ROOTSQUASH) { } else if (flags & NFSEXP_ROOTSQUASH) { if (!new->fsuid) if (!new->fsuid) new->fsuid = exp->ex_anon_uid; new->fsuid = exp->ex_anon_uid; Loading Loading
fs/nfsd/auth.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -49,6 +49,8 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp) new->fsuid = exp->ex_anon_uid; new->fsuid = exp->ex_anon_uid; new->fsgid = exp->ex_anon_gid; new->fsgid = exp->ex_anon_gid; gi = groups_alloc(0); gi = groups_alloc(0); if (!gi) goto oom; } else if (flags & NFSEXP_ROOTSQUASH) { } else if (flags & NFSEXP_ROOTSQUASH) { if (!new->fsuid) if (!new->fsuid) new->fsuid = exp->ex_anon_uid; new->fsuid = exp->ex_anon_uid; Loading