[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 30991d8..3986165 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()) {