[SCSI] be2iscsi: fix lock imbalance
authorJiri Slaby <jslaby@suse.cz>
Tue, 16 Mar 2010 15:23:57 +0000 (16:23 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 8 Apr 2010 22:41:50 +0000 (18:41 -0400)
commit4ec3fdbef17d0266826b56b33735dc9dada58c27
tree0becf678e0dc256817732f933c9cecc8541284bd
parent229bab6bacc42295f13c0434772381a88ce2308b
[SCSI] be2iscsi: fix lock imbalance

Stanse found that one error path in mgmt_invalidate_icds omits to unlock
ctrl->mbox_lock. Fix that.

Added in 756d29c8c7ed8887ed7d752371ce2f (Enable async mode for mcc rings)
where the spinlock was moved.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Acked-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_mgmt.c