Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132315
b: refs/heads/master
c: 571f824
h: refs/heads/master
i:
  132313: 9af6b63
  132311: c0ca5a6
v: v3
  • Loading branch information
Abhijeet Joglekar authored and James Bottomley committed Mar 6, 2009
1 parent 73c69ed commit 370f457
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 1f6ff364ceda516f88351a8ab640e656beed0b26
refs/heads/master: 571f824c3cd7b7f5a40ba100f7e576b6b0fe826a
7 changes: 6 additions & 1 deletion trunk/drivers/scsi/libfc/fc_rport.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ static void fc_rport_state_enter(struct fc_rport *rport,

static void fc_rport_work(struct work_struct *work)
{
u32 port_id;
struct fc_rport_libfc_priv *rdata =
container_of(work, struct fc_rport_libfc_priv, event_work);
enum fc_rport_event event;
Expand Down Expand Up @@ -279,8 +280,12 @@ static void fc_rport_work(struct work_struct *work)
rport_ops->event_callback(lport, rport, event);
if (trans_state == FC_PORTSTATE_ROGUE)
put_device(&rport->dev);
else
else {
port_id = rport->port_id;
fc_remote_port_delete(rport);
lport->tt.exch_mgr_reset(lport, 0, port_id);
lport->tt.exch_mgr_reset(lport, port_id, 0);
}
} else
mutex_unlock(&rdata->rp_mutex);
}
Expand Down

0 comments on commit 370f457

Please sign in to comment.