Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130290
b: refs/heads/master
c: 3c01b4f
h: refs/heads/master
v: v3
  • Loading branch information
Seokmann Ju authored and James Bottomley committed Jan 25, 2009
1 parent 75b1ed7 commit f8cfa95
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 53303c42d5a148a73b201a04c89e371d4d5a150f
refs/heads/master: 3c01b4f9fbb43fc911acd33ea7a14ea7a4f9866b
6 changes: 6 additions & 0 deletions trunk/drivers/scsi/qla2xxx/qla_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1016,6 +1016,9 @@ qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport)
struct Scsi_Host *host = rport_to_shost(rport);
fc_port_t *fcport = *(fc_port_t **)rport->dd_data;

if (!fcport)
return;

qla2x00_abort_fcport_cmds(fcport);

/*
Expand All @@ -1033,6 +1036,9 @@ qla2x00_terminate_rport_io(struct fc_rport *rport)
{
fc_port_t *fcport = *(fc_port_t **)rport->dd_data;

if (!fcport)
return;

/*
* At this point all fcport's software-states are cleared. Perform any
* final cleanup of firmware resources (PCBs and XCBs).
Expand Down

0 comments on commit f8cfa95

Please sign in to comment.