Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-microblaze.git] / fs / io-wq.h
index 3709b7c..dbecd27 100644 (file)
@@ -222,6 +222,6 @@ static inline void io_wq_worker_running(struct task_struct *tsk)
 static inline bool io_wq_current_is_worker(void)
 {
        return in_task() && (current->flags & PF_IO_WORKER) &&
-               current->pf_io_worker;
+               current->worker_private;
 }
 #endif