io_uring: clear REQ_F_HASH_LOCKED on hash removal
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 7 Jul 2022 14:13:16 +0000 (15:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:47:03 +0000 (08:47 -0600)
commitdc64630f725bf2eccd7cae72ff1d1a7c0709a761
tree0061ec214352007c60e7ffbb5003e07e96f87294
parent214bf9753e56ebb5f5bd2a76e4b242adbbf7453d
io_uring: clear REQ_F_HASH_LOCKED on hash removal

Instead of clearing REQ_F_HASH_LOCKED while arming a poll, unset the bit
when we're removing the entry from the table in io_poll_tw_hash_eject().

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