projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901a920
)
[SCSI] lpfc 8.1.2: Fixed a double insertion of mail box object to the SLI mailbox...
author
Jamie Wellnitz
<Jamie.Wellnitz@emulex.com>
Wed, 1 Mar 2006 00:25:20 +0000
(19:25 -0500)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Wed, 1 Mar 2006 00:55:50 +0000
(18:55 -0600)
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>
drivers/scsi/lpfc/lpfc_sli.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_sli.c
b/drivers/scsi/lpfc/lpfc_sli.c
index
cb4ccbb
..
1f87632
100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_sli.c
+++ b/
drivers/scsi/lpfc/lpfc_sli.c
@@
-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;
- }
}