[SCSI] lpfc: fix lock imbalances
authorJiri Slaby <jslaby@suse.cz>
Tue, 16 Mar 2010 15:23:58 +0000 (16:23 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 8 Apr 2010 22:42:10 +0000 (18:42 -0400)
commit67221a4226a5fc48e413e2050db266bb171753c4
tree25ba87ed639811f467f0ec6ccbecbdbf8804d977
parent4ec3fdbef17d0266826b56b33735dc9dada58c27
[SCSI] lpfc: fix lock imbalances

Stanse found that two error paths in lpfc_bsg_rport_els_cmp and
lpfc_issue_ct_rsp_cmp omits to unlock phba->ct_ev_lock. It is
because they wrongly unlock phba->hbalock instead. Fix that.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_bsg.c