rds: double unlock in rds_ib_cm_handle_connect()
We unlock after we goto out. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9b9d2e00bf
commit
f4fa7f3807
1 changed files with 0 additions and 1 deletions
|
@ -521,7 +521,6 @@ int rds_ib_cm_handle_connect(struct rdma_cm_id *cm_id,
|
|||
err = rds_ib_setup_qp(conn);
|
||||
if (err) {
|
||||
rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", err);
|
||||
mutex_unlock(&conn->c_cm_lock);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue