[SCSI] ibmvscsi: Misc. locking fixes
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 13 Jun 2007 22:12:33 +0000 (17:12 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 17 Jun 2007 20:53:17 +0000 (15:53 -0500)
commit06f923cbf080e22d1ffccbf3fd2cbab0176f6025
tree92c673e82114652e02a7ebfc1749e7763eb22f19
parent3d0e91f7ace12499c4b00088e9a6b1361e1bb0ca
[SCSI] ibmvscsi: Misc. locking fixes

Fix a couple locking bugs discovered during code inspection.
ibmvscsi_send_srp_event needs to be called with the host lock
held. This patch fixes a couple paths in the code where this
wasn't true.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ibmvscsi/ibmvscsi.c