diff options
author | James Smart <james.smart@emulex.com> | 2012-05-09 21:17:43 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-05-17 11:03:11 +0100 |
commit | 043c956f50ee9e19a02a681cdf198b0b964cf772 (patch) | |
tree | 9f2e50ff6d8ca3ef7868b90966329789b3de49d2 /drivers/scsi/lpfc/lpfc_hbadisc.c | |
parent | 81378052645b137e9973aa5e5b2bc0ddd69023d8 (diff) | |
download | lwn-043c956f50ee9e19a02a681cdf198b0b964cf772.tar.gz lwn-043c956f50ee9e19a02a681cdf198b0b964cf772.zip |
[SCSI] lpfc 8.3.31: Fix kernel panic when going into to sleep state
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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()) { |