Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21030
b: refs/heads/master
c: 712917d
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Mar 14, 2006
1 parent c0ba2f1 commit 1ce83ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 143f412eb4c7cc48b9eb4381f9133b7d36c68075
refs/heads/master: 712917d1c002f820b177683f4fd491289bde3c32
3 changes: 2 additions & 1 deletion trunk/net/sunrpc/clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ rpc_new_client(struct rpc_xprt *xprt, char *servname,

err = -EINVAL;
if (!xprt)
goto out_err;
goto out_no_xprt;
if (vers >= program->nrvers || !(version = program->version[vers]))
goto out_err;

Expand Down Expand Up @@ -182,6 +182,7 @@ rpc_new_client(struct rpc_xprt *xprt, char *servname,
kfree(clnt);
out_err:
xprt_destroy(xprt);
out_no_xprt:
return ERR_PTR(err);
}

Expand Down

0 comments on commit 1ce83ef

Please sign in to comment.