[SCSI] zfcp: Replace global config_lock with local list locks
authorSwen Schillig <swen@vnet.ibm.com>
Tue, 24 Nov 2009 15:53:58 +0000 (16:53 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:02:01 +0000 (12:02 -0600)
commitecf0c7721b104c0ce9c8ca534c911f6310cf92a8
tree639032b36bcbbe905c98c6f0b3b521dc2f0b1806
parent0a55256d158c18e4821c248a295b7f8f4423660f
[SCSI] zfcp: Replace global config_lock with local list locks

The global config_lock was used to protect the configuration organized
in independent lists. It is not necessary to have a lock on driver
level for this purpose.  This patch replaces the global config_lock
with a set of local list locks.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_ccw.c
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_fc.c
drivers/s390/scsi/zfcp_fsf.c
drivers/s390/scsi/zfcp_scsi.c
drivers/s390/scsi/zfcp_sysfs.c