[SCSI] zfcp: fix spinlock initialization
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 1 Dec 2005 01:46:32 +0000 (02:46 +0100)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 1 Dec 2005 21:59:46 +0000 (15:59 -0600)
commitc48a29d065cfa18c3e8699f5e3a84a59ad35e062
treec22058a74f61adbdf8663fd24d3ca2018e4f65cd
parent8bdf810f89c3e686ba18a11e2852f32014f1506a
[SCSI] zfcp: fix spinlock initialization

Move initialization of locks and lists to adapter allocation function.
Otherwise we might end up with some uninitialized locks, like e.g. the
erp locks which only will be inititialized if an error recovery thread
for an adapter will be started.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_dbf.c
drivers/s390/scsi/zfcp_erp.c