staging: lustre: test for proper errno code in lstcon_rpc_trans_abort

The error value returned will be -ETIMEDOUT not ETIMEDOUT. This fixes
a typo that prevents us from handling the error case.

Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
James Simmons
2016-03-11 20:29:49 -05:00
committed by Greg Kroah-Hartman
parent b794d796b4
commit 9a41340a41

View File

@@ -313,7 +313,7 @@ lstcon_rpc_trans_abort(lstcon_rpc_trans_t *trans, int error)
sfw_abort_rpc(rpc);
if (error != ETIMEDOUT)
if (error != -ETIMEDOUT)
continue;
nd = crpc->crp_node;