diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2013-03-22 16:52:59 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-05 20:58:14 (GMT) |
commit | a58e0be6f6b3eb2079b0b8fedc9df6fa86869f1e (patch) | |
tree | f5eb065a6b62e403e0487698dbcc6a6b636d1b63 /security/yama | |
parent | 1166fde6a923c30f4351515b6a9a1efc513e7d00 (diff) | |
download | linux-fsl-qoriq-a58e0be6f6b3eb2079b0b8fedc9df6fa86869f1e.tar.xz |
SUNRPC: Remove extra xprt_put()
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>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions