Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161023
b: refs/heads/master
c: 201e579
h: refs/heads/master
i:
  161021: b7b2776
  161019: 3f51f50
  161015: 8985fd5
  161007: 8029392
  160991: 291081f
  160959: c5e90e5
  160895: 3ce3076
  160767: 9b0fc5d
v: v3
  • Loading branch information
Joe Eykholt authored and James Bottomley committed Aug 22, 2009
1 parent fd3630a commit 82548db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 5f7ea3b7f81d5e5180647a071998b73a841bdba9
refs/heads/master: 201e5795b7b9582accb6d83316e30f24d7d40fd3
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/libfc/fc_rport.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ static void fc_rport_work(struct work_struct *work)
mutex_unlock(&rdata->rp_mutex);
if (rport_ops->event_callback)
rport_ops->event_callback(lport, rport, event);
cancel_delayed_work_sync(&rdata->retry_work);
if (trans_state == FC_PORTSTATE_ROGUE)
put_device(&rport->dev);
else {
Expand Down Expand Up @@ -433,7 +434,6 @@ static void fc_rport_timeout(struct work_struct *work)
}

mutex_unlock(&rdata->rp_mutex);
put_device(&rport->dev);
}

/**
Expand Down Expand Up @@ -494,7 +494,6 @@ static void fc_rport_error_retry(struct fc_rport *rport, struct fc_frame *fp)
/* no additional delay on exchange timeouts */
if (PTR_ERR(fp) == -FC_EX_TIMEOUT)
delay = 0;
get_device(&rport->dev);
schedule_delayed_work(&rdata->retry_work, delay);
return;
}
Expand Down

0 comments on commit 82548db

Please sign in to comment.