]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: do poll's hash_node init in common code
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 18 Oct 2020 09:17:43 +0000 (10:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Oct 2020 19:29:29 +0000 (13:29 -0600)
commitcd8b9ea6c60bbb5391995f2258951a905eba8131
tree0d4184e805383561029ae2d27494df0d1f7a8131
parentdd0be08a1ea2a0744244f0079278d8bd92b715f7
io_uring: do poll's hash_node init in common code

Move INIT_HLIST_NODE(&req->hash_node) into __io_arm_poll_handler(), so
that it doesn't duplicated and common poll code would be responsible for
it.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c