summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-09-26 22:21:56 -1000
committerTejun Heo <tj@kernel.org>2026-09-26 22:21:56 -1000
commit12b1052774c1137e178bc0212eaf1ab29cc57f31 (patch)
treebdd728dd368d7b9127b4d1dc958ca6b11627eee4 /kernel/workqueue.c
parent9d4815c14f7faf789aeaa63515024168daf0390c (diff)
parentdb6365ced4d5855e321f772b240c0e473bcfcdd5 (diff)
downloadlinux-next-12b1052774c1137e178bc0212eaf1ab29cc57f31.tar.gz
linux-next-12b1052774c1137e178bc0212eaf1ab29cc57f31.zip
Merge branch 'for-7.3-fixes' into for-next
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index e618108c6127..ef1699eab5d3 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -4040,7 +4040,7 @@ static void check_flush_dependency(struct workqueue_struct *target_wq,
WARN_ONCE(current->flags & PF_MEMALLOC,
"workqueue: PF_MEMALLOC task %d(%s) is flushing !WQ_MEM_RECLAIM %s:%ps",
current->pid, current->comm, target_wq->name, target_func);
- WARN_ONCE(worker && ((worker->current_pwq->wq->flags &
+ WARN_ONCE(worker && worker->current_pwq && ((worker->current_pwq->wq->flags &
(WQ_MEM_RECLAIM | __WQ_LEGACY)) == WQ_MEM_RECLAIM),
"workqueue: WQ_MEM_RECLAIM %s:%ps is flushing !WQ_MEM_RECLAIM %s:%ps",
worker->current_pwq->wq->name, worker->current_func,