[SCSI] lpfc 8.3.31: Fix kernel panic when going into to sleep state
authorJames Smart <james.smart@emulex.com>
Thu, 10 May 2012 01:17:43 +0000 (21:17 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 17 May 2012 10:03:11 +0000 (11:03 +0100)
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_hbadisc.c

index 30991d8109280686898d97a66f8125cc1f708b69..3986165b0275ab29c9567ae48da7af42f9a9dd97 100644 (file)
@@ -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()) {
This page took 0.029602 seconds and 5 git commands to generate.