From 043c956f50ee9e19a02a681cdf198b0b964cf772 Mon Sep 17 00:00:00 2001 From: James Smart Date: Wed, 9 May 2012 21:17:43 -0400 Subject: [PATCH] [SCSI] lpfc 8.3.31: Fix kernel panic when going into to sleep state Signed-off-by: Alex Iannicelli Signed-off-by: James Smart Signed-off-by: James Bottomley --- drivers/scsi/lpfc/lpfc_hbadisc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 30991d810928..3986165b0275 100644 --- 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()) { -- 2.34.1