diff options
author | Zach Brown <zach.brown@oracle.com> | 2010-05-24 20:14:59 (GMT) |
---|---|---|
committer | Andy Grover <andy.grover@oracle.com> | 2010-09-09 01:15:15 (GMT) |
commit | a46ca94e7fb2c93a59e08b42fd77d8c478fda5fc (patch) | |
tree | 2c7e4be2d85d55c0fc69d60c18504d8eec4acfe2 /arch/mips | |
parent | 1cc2228c599f173d77000a250bf0541294e1a7be (diff) | |
download | linux-a46ca94e7fb2c93a59e08b42fd77d8c478fda5fc.tar.xz |
RDS/IB: rds_ib_cm_handle_connect() forgot to unlock c_cm_lock
rds_ib_cm_handle_connect() could return without unlocking the c_conn_lock if
rds_setup_qp() failed. Rather than adding another imbalanced mutex_unlock() to
this error path we only unlock the mutex once as we exit the function, reducing
the likelyhood of making this same mistake in the future. We remove the
previous mulitple return sites, leaving one unambigious return path.
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions