Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130296
b: refs/heads/master
c: bf935a7
h: refs/heads/master
v: v3
  • Loading branch information
J. Bruce Fields authored and J. Bruce Fields committed Jan 27, 2009
1 parent 40f34ee commit 91ca398
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce0cf6622c9a6f18c2723ea4bef7616799a1ca39
refs/heads/master: bf935a78814cc9b96d09f612912178adc964ce9c
2 changes: 2 additions & 0 deletions trunk/fs/nfsd/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp)
new->fsuid = exp->ex_anon_uid;
new->fsgid = exp->ex_anon_gid;
gi = groups_alloc(0);
if (!gi)
goto oom;
} else if (flags & NFSEXP_ROOTSQUASH) {
if (!new->fsuid)
new->fsuid = exp->ex_anon_uid;
Expand Down

0 comments on commit 91ca398

Please sign in to comment.