Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161114
b: refs/heads/master
c: cd305ce
h: refs/heads/master
v: v3
  • Loading branch information
Robert Love authored and James Bottomley committed Sep 5, 2009
1 parent 6a340e1 commit 2dc161f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ee610c6701875525d5c61fa6e56ddbf3e645b8df
refs/heads/master: cd305ce41be1615dfc72892e0642c6b880f58d95
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/libfc/fc_exch.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ static inline void fc_exch_timer_set_locked(struct fc_exch *ep,
if (ep->state & (FC_EX_RST_CLEANUP | FC_EX_DONE))
return;

FC_EXCH_DBG(ep, "Exchange timed out, notifying the upper layer\n");
FC_EXCH_DBG(ep, "Exchange timer armed\n");

if (schedule_delayed_work(&ep->timeout_work,
msecs_to_jiffies(timer_msec)))
Expand Down Expand Up @@ -412,6 +412,8 @@ static void fc_exch_timeout(struct work_struct *work)
u32 e_stat;
int rc = 1;

FC_EXCH_DBG(ep, "Exchange timed out\n");

spin_lock_bh(&ep->ex_lock);
if (ep->state & (FC_EX_RST_CLEANUP | FC_EX_DONE))
goto unlock;
Expand Down

0 comments on commit 2dc161f

Please sign in to comment.