git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1166fde
)
SUNRPC: Remove extra xprt_put()
author
Chuck Lever
<chuck.lever@oracle.com>
Fri, 22 Mar 2013 16:52:59 +0000
(12:52 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 5 Apr 2013 20:58:14 +0000
(16:58 -0400)
While testing error cases where rpc_new_client() fails, I saw
some oopses.
If rpc_new_client() fails, it already invokes xprt_put(). Thus
__rpc_clone_client() does not need to invoke it again.
Introduced by commit
1b63a751
"SUNRPC: Refactor rpc_clone_client()"
Fri Sep 14, 2012.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: stable@vger.kernel.org [>=3.7]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c
patch
|
blob
|
history
diff --cc
net/sunrpc/clnt.c
Simple merge