diff options
-rw-r--r-- | drivers/scsi/libfc/fc_exch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c index 11ddd115efb6..40c34274bd81 100644 --- a/drivers/scsi/libfc/fc_exch.c +++ b/drivers/scsi/libfc/fc_exch.c | |||
@@ -326,7 +326,7 @@ static inline void fc_exch_timer_set_locked(struct fc_exch *ep, | |||
326 | if (ep->state & (FC_EX_RST_CLEANUP | FC_EX_DONE)) | 326 | if (ep->state & (FC_EX_RST_CLEANUP | FC_EX_DONE)) |
327 | return; | 327 | return; |
328 | 328 | ||
329 | FC_EXCH_DBG(ep, "Exchange timed out, notifying the upper layer\n"); | 329 | FC_EXCH_DBG(ep, "Exchange timer armed\n"); |
330 | 330 | ||
331 | if (schedule_delayed_work(&ep->timeout_work, | 331 | if (schedule_delayed_work(&ep->timeout_work, |
332 | msecs_to_jiffies(timer_msec))) | 332 | msecs_to_jiffies(timer_msec))) |
@@ -412,6 +412,8 @@ static void fc_exch_timeout(struct work_struct *work) | |||
412 | u32 e_stat; | 412 | u32 e_stat; |
413 | int rc = 1; | 413 | int rc = 1; |
414 | 414 | ||
415 | FC_EXCH_DBG(ep, "Exchange timed out\n"); | ||
416 | |||
415 | spin_lock_bh(&ep->ex_lock); | 417 | spin_lock_bh(&ep->ex_lock); |
416 | if (ep->state & (FC_EX_RST_CLEANUP | FC_EX_DONE)) | 418 | if (ep->state & (FC_EX_RST_CLEANUP | FC_EX_DONE)) |
417 | goto unlock; | 419 | goto unlock; |