summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_vport.h
diff options
context:
space:
mode:
authorJames Smart2007-08-02 17:09:51 +0200
committerJames Bottomley2007-08-01 19:18:23 +0200
commit549e55cd2a1b83ea45ac17fb6c309654a3d371a4 (patch)
tree0abf10a28b177e129932c62b3b94994ce4f3aadb /drivers/scsi/lpfc/lpfc_vport.h
parent[SCSI] lpfc 8.2.2 : Error messages and debugfs updates (diff)
downloadkernel-qcow2-linux-549e55cd2a1b83ea45ac17fb6c309654a3d371a4.tar.gz
kernel-qcow2-linux-549e55cd2a1b83ea45ac17fb6c309654a3d371a4.tar.xz
kernel-qcow2-linux-549e55cd2a1b83ea45ac17fb6c309654a3d371a4.zip
[SCSI] lpfc 8.2.2 : Fix locking around HBA's port_list
Cleans up a lot of bad behaviors that have been in this area a while Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_vport.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_vport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_vport.h b/drivers/scsi/lpfc/lpfc_vport.h
index f223550f8cba..91da17751a37 100644
--- a/drivers/scsi/lpfc/lpfc_vport.h
+++ b/drivers/scsi/lpfc/lpfc_vport.h
@@ -88,6 +88,8 @@ int lpfc_vport_create(struct fc_vport *, bool);
int lpfc_vport_delete(struct fc_vport *);
int lpfc_vport_getinfo(struct Scsi_Host *, struct vport_info *);
int lpfc_vport_tgt_remove(struct Scsi_Host *, uint, uint);
+struct lpfc_vport **lpfc_create_vport_work_array(struct lpfc_hba *);
+void lpfc_destroy_vport_work_array(struct lpfc_vport **);
/*
* queuecommand VPORT-specific return codes. Specified in the host byte code.