commit | 1a924a808208c1880ef9f36b6bf98d27af045f06 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Jun 24 15:09:56 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jun 30 14:15:39 2021 -0600 |
tree | f7cb04d98103acf81d510db072801ad3b82f9940 | |
parent | 948e19479cb649587165243c6cc12d113c9cbbe0 [diff] |
io_uring: refactor io_sq_thread() Move needs_sched declaration into the block where it's used, so it's harder to misuse/wrongfully reuse. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/e4a07db1353ee38b924dd1b45394cf8e746130b4.1624543113.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>