diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2013-03-22 12:52:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-12 09:52:09 -0700 |
commit | 020dff84998201602ae4d00bd38acafc62f5c693 (patch) | |
tree | f374b0696f7fa9173ad72c460a1c2c29a0149f69 /net/rxrpc/ar-ack.c | |
parent | c50130d1682d37baac4cec833a964b2c3eb83e9c (diff) |
SUNRPC: Remove extra xprt_put()
commit a58e0be6f6b3eb2079b0b8fedc9df6fa86869f1e upstream.
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>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/rxrpc/ar-ack.c')
0 files changed, 0 insertions, 0 deletions