]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit5ccc2098531fb320366910ea2a0adc5bfa600275
tree92c673e82114652e02a7ebfc1749e7763eb22f19
parent0d77aaaa91b7311c535a8bbf0fe22436062d7f22
[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