aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_def.h
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2009-08-18 09:43:28 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-09-05 09:49:42 -0400
commit24680defdb55e073c5e43d14318a164b842d8ce7 (patch)
treed1d054c831d85b175e560c562694a265f00a9191 /drivers/s390/scsi/zfcp_def.h
parent143bb6bfe36d20618d8bf667915fe14d14b8ae2f (diff)
[SCSI] zfcp: Replace config semaphore with mutex
The config semaphore is only used as a mutex, so replace it with a simple mutex. Reviewed-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>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r--drivers/s390/scsi/zfcp_def.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h
index 99830758e873..cc98eead2c3c 100644
--- a/drivers/s390/scsi/zfcp_def.h
+++ b/drivers/s390/scsi/zfcp_def.h
@@ -604,8 +604,7 @@ struct zfcp_data {
604 rwlock_t config_lock; /* serialises changes 604 rwlock_t config_lock; /* serialises changes
605 to adapter/port/unit 605 to adapter/port/unit
606 lists */ 606 lists */
607 struct semaphore config_sema; /* serialises configuration 607 struct mutex config_mutex;
608 changes */
609 struct kmem_cache *gpn_ft_cache; 608 struct kmem_cache *gpn_ft_cache;
610 struct kmem_cache *qtcb_cache; 609 struct kmem_cache *qtcb_cache;
611 struct kmem_cache *sr_buffer_cache; 610 struct kmem_cache *sr_buffer_cache;