Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127487
b: refs/heads/master
c: f05ef8d
h: refs/heads/master
i:
  127485: 8bfc0a3
  127483: 535f159
  127479: 688eef0
  127471: ddf4635
  127455: 793b22e
  127423: 2c11b2a
  127359: 3da4efa
  127231: 9a423d9
  126975: 5a59775
v: v3
  • Loading branch information
David Howells authored and J. Bruce Fields committed Jan 7, 2009
1 parent 3a71124 commit 0882586
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0dba7c2a9ed3d4a1e58f5d94fffa9f44dbe012e6
refs/heads/master: f05ef8db1abe68e3f6fc272efee51bc54ce528c5
4 changes: 2 additions & 2 deletions trunk/fs/nfsd/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ int nfsd_setuser(struct svc_rqst *rqstp, struct svc_export *exp)

ret = set_groups(new, gi);
put_group_info(gi);
if (!ret)
if (ret < 0)
goto error;

if (new->uid)
if (new->fsuid)
new->cap_effective = cap_drop_nfsd_set(new->cap_effective);
else
new->cap_effective = cap_raise_nfsd_set(new->cap_effective,
Expand Down

0 comments on commit 0882586

Please sign in to comment.