io-wq: make io_wq_fork_thread() available to other users
authorJens Axboe <axboe@kernel.dk>
Thu, 18 Feb 2021 04:05:41 +0000 (21:05 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 19 Feb 2021 17:02:35 +0000 (10:02 -0700)
commit488c0e03b9532b0525e2fba388d72c5cc694cfa9
tree48bddefd8a6923f692eb64f666e41840985f2b11
parent5003a71a80a49d70066a0df10e30314617500464
io-wq: make io_wq_fork_thread() available to other users

We want to use this in io_uring proper as well, for the SQPOLL thread.
Rename it from fork_thread() to io_wq_fork_thread(), and make it
available through the io-wq.h header.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c
fs/io-wq.h