Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213329
b: refs/heads/master
c: 3fadb80
h: refs/heads/master
i:
  213327: ece3312
v: v3
  • Loading branch information
Giridhar Malavali authored and James Bottomley committed Sep 5, 2010
1 parent 455b741 commit 4c5b59d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b1d46989c12ec4d93f274ca8378bb1a6014d244a
refs/heads/master: 3fadb80b0f39b193caafeed615a219aae57279fe
18 changes: 9 additions & 9 deletions trunk/drivers/scsi/qla2xxx/qla_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1547,22 +1547,22 @@ qla2x00_dev_loss_tmo_callbk(struct fc_rport *rport)
if (!fcport)
return;

if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags))
return;

if (unlikely(pci_channel_offline(fcport->vha->hw->pdev))) {
qla2x00_abort_all_cmds(fcport->vha, DID_NO_CONNECT << 16);
return;
}

/*
* Transport has effectively 'deleted' the rport, clear
* all local references.
*/
spin_lock_irq(host->host_lock);
fcport->rport = NULL;
fcport->rport = fcport->drport = NULL;
*((fc_port_t **)rport->dd_data) = NULL;
spin_unlock_irq(host->host_lock);

if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags))
return;

if (unlikely(pci_channel_offline(fcport->vha->hw->pdev))) {
qla2x00_abort_all_cmds(fcport->vha, DID_NO_CONNECT << 16);
return;
}
}

static void
Expand Down

0 comments on commit 4c5b59d

Please sign in to comment.