[SCSI] ibmvscsi: Fix slave_configure deadlock
authorBrian King <brking@linux.vnet.ibm.com>
Mon, 1 Apr 2013 14:44:26 +0000 (09:44 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 6 Apr 2013 10:35:51 +0000 (11:35 +0100)
commit9d85b590057523c2bfe3bea2f62ba9e2701a62db
tree98cc614b92df45164fb3d987be910db4162c2707
parent231ff54e4cc4a6f1ef78fb4e1f94957bbb961aae
[SCSI] ibmvscsi: Fix slave_configure deadlock

No locks should be held when calling scsi_adjust_queue_depth
so drop the lock in slave_configure prior to calling it.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Acked-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ibmvscsi/ibmvscsi.c