summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_hbadisc.c
diff options
context:
space:
mode:
authorJames Smart2012-05-10 03:17:43 +0200
committerJames Bottomley2012-05-17 12:03:11 +0200
commit043c956f50ee9e19a02a681cdf198b0b964cf772 (patch)
tree9f2e50ff6d8ca3ef7868b90966329789b3de49d2 /drivers/scsi/lpfc/lpfc_hbadisc.c
parent[SCSI] lpfc 8.3.31: Fix error message displayed even when not an error (diff)
downloadkernel-qcow2-linux-043c956f50ee9e19a02a681cdf198b0b964cf772.tar.gz
kernel-qcow2-linux-043c956f50ee9e19a02a681cdf198b0b964cf772.tar.xz
kernel-qcow2-linux-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.c1
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()) {