io_uring: add a helper for apoll alloc
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 23 Jun 2022 13:24:46 +0000 (14:24 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:16 +0000 (18:39 -0600)
commit5204aa8c43bd1c3428b8979229183ae8269a8c09
tree7102a99e496158cd2f073756eee8e1aa81ee5b36
parent13a99017ff19f179b51e1c51559a9d7005df1830
io_uring: add a helper for apoll alloc

Extract a helper function for apoll allocation, makes the code easier to
read.

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