From: James Smart Date: Thu, 10 May 2012 01:17:43 +0000 (-0400) Subject: [SCSI] lpfc 8.3.31: Fix kernel panic when going into to sleep state X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=043c956f50ee9e19a02a681cdf198b0b964cf772;p=linux-beck.git [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 --- 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()) {