SUNRPC: Don't handle errors if the bind/connect succeeded
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 15 Aug 2019 21:26:17 +0000 (17:26 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 26 Aug 2019 19:31:29 +0000 (15:31 -0400)
commitbd736ed3e2d1088d9b4050f727342e1e619c3841
tree167454b57caf49a707cf2f0b9dede6215f0f30d5
parent06c9fdf3b9f1acc6e53753c99c54c39764cc979f
SUNRPC: Don't handle errors if the bind/connect succeeded

Don't handle errors in call_bind_status()/call_connect_status()
if it turns out that a previous call caused it to succeed.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org # v5.1+
net/sunrpc/clnt.c