io_uring: consolidate hash_locked io-wq handling
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 7 Jul 2022 14:13:17 +0000 (15:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:47:03 +0000 (08:47 -0600)
commit93e9cc1411ac2f3d30be757200ac9f8bb766af7e
tree2c76b8a1c642f5fe924ce3c6df7511c9b32fe027
parentdc64630f725bf2eccd7cae72ff1d1a7c0709a761
io_uring: consolidate hash_locked io-wq handling

Don't duplicate code disabling REQ_F_HASH_LOCKED for IO_URING_F_UNLOCKED
(i.e. io-wq), move the handling into __io_arm_poll_handler().

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0ff0ffdfaa65b3d536131535c3dad3c63d9b7bb0.1657203020.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/poll.c