Skip to content

Commit

Permalink
[SCSI] zfcp: Move debug data from zfcp_data to own data structure
Browse files Browse the repository at this point in the history
The struct zfcp_adapter includes everything related to the debug
traces. This introduces dependences between the definitions in
zfcp_def.h and zfcp_dbf.h. Move all debug related data structures to a
new data structure to break those dependencies and manage the debug
data in zfcp_dbf.[hc].

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>
  • Loading branch information
Christof Schmitt authored and James Bottomley committed Sep 5, 2009
1 parent a67417a commit d46f384
Show file tree
Hide file tree
Showing 5 changed files with 143 additions and 113 deletions.
4 changes: 0 additions & 4 deletions drivers/s390/scsi/zfcp_aux.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,6 @@ int zfcp_adapter_enqueue(struct ccw_device *ccw_device)

spin_lock_init(&adapter->req_list_lock);

spin_lock_init(&adapter->hba_dbf_lock);
spin_lock_init(&adapter->san_dbf_lock);
spin_lock_init(&adapter->scsi_dbf_lock);
spin_lock_init(&adapter->rec_dbf_lock);
spin_lock_init(&adapter->req_q_lock);
spin_lock_init(&adapter->qdio_stat_lock);

Expand Down
Loading

0 comments on commit d46f384

Please sign in to comment.