]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: refactor io_sq_thread()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 24 Jun 2021 14:09:56 +0000 (15:09 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 20:15:39 +0000 (14:15 -0600)
commitf86579de1261bb5ce0c3160f321e74a7a1b4aed3
treef7cb04d98103acf81d510db072801ad3b82f9940
parentc8ae98fbb29b13e7426a33092f26ce7784ddd982
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>
fs/io_uring.c