aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_attr.c
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@qlogic.com>2011-03-30 14:46:32 -0400
committerJames Bottomley <James.Bottomley@suse.de>2011-05-01 11:14:42 -0400
commitec426e106c410b000ac590b6e776d5a6cd9bccd9 (patch)
tree214b0e2c5935b2ea2143bf993b86799429427f70 /drivers/scsi/qla2xxx/qla_attr.c
parenta4f92a32a0fb827f7bd40c69f021cf57d3dc4249 (diff)
[SCSI] qla2xxx: Log fcport state transitions when debug messages are enabled.
Add the inline function qla2x00_set_port_state() so that when a fcport state transition happens we can log the state transition if debug messages are enabled. Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_attr.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c
index cee3eed5ed13..75faf480aa73 100644
--- a/drivers/scsi/qla2xxx/qla_attr.c
+++ b/drivers/scsi/qla2xxx/qla_attr.c
@@ -1568,7 +1568,7 @@ qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport)
1568 1568
1569 /* Now that the rport has been deleted, set the fcport state to 1569 /* Now that the rport has been deleted, set the fcport state to
1570 FCS_DEVICE_DEAD */ 1570 FCS_DEVICE_DEAD */
1571 atomic_set(&fcport->state, FCS_DEVICE_DEAD); 1571 qla2x00_set_fcport_state(fcport, FCS_DEVICE_DEAD);
1572 1572
1573 /* 1573 /*
1574 * Transport has effectively 'deleted' the rport, clear 1574 * Transport has effectively 'deleted' the rport, clear