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>
Mon, 22 Feb 2021 00:25:22 +0000 (17:25 -0700)
commit843bbfd49f02caab7186910480a86378bb84e975
treeb3004422b8d259e74b8ec2f345af9d42866955a3
parentbf1daa4bfc77a60e58bed392e659c9ddd0174340
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