linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 09/20] lpfc 8.3.31: Fix kernel panic when going into to sleep state
@ 2012-05-10  1:17 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2012-05-10  1:17 UTC (permalink / raw)
  To: linux-scsi

Fix kernel panic when going into to sleep state


Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_hbadisc.c |    1 +
 1 file changed, 1 insertion(+)


diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c	2012-05-07 10:01:03.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c	2012-05-07 10:01:13.000000000 -0400
@@ -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()) {




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-05-10  1:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-10  1:17 [PATCH 09/20] lpfc 8.3.31: Fix kernel panic when going into to sleep state James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).