Skip to contentSkip to conversation

lpfc 8.3.31: Fix kernel panic when going into to sleep state

PATCH New James Smart 1 participant 1 message May 10, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/20 lpfc 8.3.31: Fix kernel panic when going into to sleep state

Fix kernel panic when going into to sleep state

---

 lpfc_hbadisc.c |    1 +
 1 file changed, 1 insertion(+)
drivers/scsi/lpfc/lpfc_hbadisc.c +1 -0
diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -713,6 +713,7 @@ lpfc_do_work(void *p)
 	int rc;
 
 	set_user_nice(current, -20);
+	current->flags |= PF_NOFREEZE;
 	phba->data_flags = 0;
 
 	while (!kthread_should_stop()) {