Skip to content

Commit

Permalink
[SCSI] lpfc 8.3.31: Fix kernel panic when going into to sleep state
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
James Smart authored and James Bottomley committed May 17, 2012
1 parent 8137805 commit 043c956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/lpfc/lpfc_hbadisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 043c956

Please sign in to comment.