Commit 189b7b78 authored by Jens Axboe's avatar Jens Axboe Committed by openeuler-sync-bot
Browse files

arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread()

stable inclusion
from stable-v5.10.162
commit dd26e2cec74f88cb7910deec77897d04ade299bd
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6LQMS

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=dd26e2cec74f88cb7910deec77897d04ade299bd



--------------------------------

[ Upstream commit 0100e6bb ]

In the arch addition of PF_IO_WORKER, I missed parisc and powerpc for
some reason. Fix that up, ensuring they handle PF_IO_WORKER like they do
PF_KTHREAD in copy_thread().

Reported-by: default avatarBruno Goncalves <bgoncalv@redhat.com>
Fixes: 4727dc20 ("arch: setup PF_IO_WORKER threads like PF_KTHREAD")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarLi Lingfeng <lilingfeng3@huawei.com>
(cherry picked from commit 820fe456)
parent 7b94b1b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment