aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_scsi.c
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2007-08-28 03:31:09 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:46:32 -0400
commit52ef11a7170e1b8a0d5f9a42dbb43c38c335c32e (patch)
tree3102a56dcab709f82521205245e6ff4901ee0f5f /drivers/s390/scsi/zfcp_scsi.c
parent03f002f778e58e9056e8e9a22952c5c6f4d76269 (diff)
[SCSI] zfcp: cleanup, separation of ERP, non ERP-version for exchange_ functions
cleanup, using ERP request mempool for all ERP versions of the exchange functions (exchange_config (ECD), exchange_port (EPD) ) providing individual versions of the ECD, EPD functions for ERP and other purposes (_sync). Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_scsi.c')
-rw-r--r--drivers/s390/scsi/zfcp_scsi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c
index 3a7f3b87fb36..5fbbd21a88e4 100644
--- a/drivers/s390/scsi/zfcp_scsi.c
+++ b/drivers/s390/scsi/zfcp_scsi.c
@@ -731,7 +731,7 @@ zfcp_get_fc_host_stats(struct Scsi_Host *shost)
731 if (!data) 731 if (!data)
732 return NULL; 732 return NULL;
733 733
734 ret = zfcp_fsf_exchange_port_data(NULL, adapter, data); 734 ret = zfcp_fsf_exchange_port_data_sync(adapter, data);
735 if (ret) { 735 if (ret) {
736 kfree(data); 736 kfree(data);
737 return NULL; /* XXX return zeroed fc_stats? */ 737 return NULL; /* XXX return zeroed fc_stats? */
@@ -761,7 +761,7 @@ zfcp_reset_fc_host_stats(struct Scsi_Host *shost)
761 if (!data) 761 if (!data)
762 return; 762 return;
763 763
764 ret = zfcp_fsf_exchange_port_data(NULL, adapter, data); 764 ret = zfcp_fsf_exchange_port_data_sync(adapter, data);
765 if (ret) { 765 if (ret) {
766 kfree(data); 766 kfree(data);
767 } else { 767 } else {
@@ -800,6 +800,7 @@ struct fc_function_template zfcp_transport_functions = {
800 .show_host_port_type = 1, 800 .show_host_port_type = 1,
801 .show_host_speed = 1, 801 .show_host_speed = 1,
802 .show_host_port_id = 1, 802 .show_host_port_id = 1,
803 .disable_target_scan = 1,
803}; 804};
804 805
805/** 806/**