Skip to content

Commit

Permalink
[SCSI] lpfc 8.1.2: Fixed a double insertion of mail box object to the…
Browse files Browse the repository at this point in the history
… SLI mailbox list.

Fixed a double insertion of mail box object to the SLI mailbox list.

Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Jamie Wellnitz authored and James Bottomley committed Mar 1, 2006
1 parent 901a920 commit 406d604
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/scsi/lpfc/lpfc_sli.c
Original file line number Diff line number Diff line change
Expand Up @@ -2867,11 +2867,10 @@ lpfc_sli_issue_mbox_wait(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq,
pmboxq->context1 = NULL;
/* if schedule_timeout returns 0, we timed out and were not
woken up */
if (timeleft == 0) {
if ((timeleft == 0) || signal_pending(current))
retval = MBX_TIMEOUT;
} else {
else
retval = MBX_SUCCESS;
}
}


Expand Down

0 comments on commit 406d604

Please sign in to comment.