[SCSI] lpfc 8.1.2: Fixed a double insertion of mail box object to the 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>
This commit is contained in:
Jamie Wellnitz 2006-02-28 19:25:20 -05:00 коммит произвёл James Bottomley
Родитель 901a920f07
Коммит 406d6041ac
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -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;
}
}