Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24277
b: refs/heads/master
c: ad1b522
h: refs/heads/master
i:
  24275: d8a6338
v: v3
  • Loading branch information
NeilBrown authored and Linus Torvalds committed Mar 27, 2006
1 parent c0c8474 commit 5de27eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: 74cae61ab45f19a3e8c4d9f53c0e94df129c7915
refs/heads/master: ad1b5229def92b71631a927895b034ceec06c991
16 changes: 8 additions & 8 deletions trunk/net/sunrpc/svcauth_unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ struct auth_domain *unix_domain_find(char *name)

rv = auth_domain_lookup(name, NULL);
while(1) {
if (rv != &new->h) {
if (new) auth_domain_put(&new->h);
if (rv) {
if (new && rv != &new->h)
auth_domain_put(&new->h);

if (rv->flavour != &svcauth_unix) {
auth_domain_put(rv);
return NULL;
}
return rv;
}
if (rv && rv->flavour != &svcauth_unix) {
auth_domain_put(rv);
return NULL;
}
if (rv)
return rv;

new = kmalloc(sizeof(*new), GFP_KERNEL);
if (new == NULL)
Expand Down

0 comments on commit 5de27eb

Please sign in to comment.