Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132321
b: refs/heads/master
c: f7db2c1
h: refs/heads/master
i:
  132319: 83f9f0a
v: v3
  • Loading branch information
Steve Ma authored and James Bottomley committed Mar 6, 2009
1 parent 88bf20f commit b5ebebe
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 26d9cab558f901051d0b69b2c445c8588931ce8d
refs/heads/master: f7db2c150cf5082cf74555f30a1305938041de80
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/libfc/fc_lport.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,7 @@ int fc_fabric_logoff(struct fc_lport *lport)
mutex_lock(&lport->lp_mutex);
fc_lport_enter_logo(lport);
mutex_unlock(&lport->lp_mutex);
cancel_delayed_work_sync(&lport->retry_work);
return 0;
}
EXPORT_SYMBOL(fc_fabric_logoff);
Expand Down Expand Up @@ -918,6 +919,7 @@ static void fc_lport_recv_req(struct fc_lport *lport, struct fc_seq *sp,
*/
int fc_lport_reset(struct fc_lport *lport)
{
cancel_delayed_work_sync(&lport->retry_work);
mutex_lock(&lport->lp_mutex);
fc_lport_enter_reset(lport);
mutex_unlock(&lport->lp_mutex);
Expand Down

0 comments on commit b5ebebe

Please sign in to comment.