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>
Mon, 25 Jul 2022 00:39:17 +0000 (18:39 -0600)
commitb21a51e26e9aed66159c2c18651da22d585d2998
treef3e46e18d5f03728097698e71a5f76abcbb168f1
parentceff501790a9789c748a9b851f30f4f7e2fe4d72
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