diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2008-12-19 10:56:55 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-29 12:24:36 -0500 |
commit | b228af0269eaf1af22dbae12a0860f8dbfd63662 (patch) | |
tree | b8605995801a890d9c213e0ef1c3de63a4b4c312 /drivers/s390/scsi/zfcp_def.h | |
parent | dedbc2b3cb8404c618975bd2811c7605a4ccb51e (diff) |
[SCSI] zfcp: Remove adapter list
After the latest changes, the list of FCP devices is only used to
lookup the adapter for requests from the actcli tool. Change this to
use the lookup function in the cio layer. Now we can remove the
adapter list and have one place less to use the global config_lock.
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Acked-by: Felix Beck <felix@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index e19e46ae4a68..b95e73ee0d6f 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -451,7 +451,6 @@ struct zfcp_latencies { | |||
451 | }; | 451 | }; |
452 | 452 | ||
453 | struct zfcp_adapter { | 453 | struct zfcp_adapter { |
454 | struct list_head list; /* list of adapters */ | ||
455 | atomic_t refcount; /* reference count */ | 454 | atomic_t refcount; /* reference count */ |
456 | wait_queue_head_t remove_wq; /* can be used to wait for | 455 | wait_queue_head_t remove_wq; /* can be used to wait for |
457 | refcount drop to zero */ | 456 | refcount drop to zero */ |
@@ -593,7 +592,6 @@ struct zfcp_fsf_req { | |||
593 | struct zfcp_data { | 592 | struct zfcp_data { |
594 | struct scsi_host_template scsi_host_template; | 593 | struct scsi_host_template scsi_host_template; |
595 | struct scsi_transport_template *scsi_transport_template; | 594 | struct scsi_transport_template *scsi_transport_template; |
596 | struct list_head adapter_list_head; /* head of adapter list */ | ||
597 | rwlock_t config_lock; /* serialises changes | 595 | rwlock_t config_lock; /* serialises changes |
598 | to adapter/port/unit | 596 | to adapter/port/unit |
599 | lists */ | 597 | lists */ |