[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)
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>

No differences found