io_uring: convert poll path to use io_cmd_type
authorJens Axboe <axboe@kernel.dk>
Tue, 24 May 2022 15:13:46 +0000 (09:13 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:33:55 +0000 (08:33 -0600)
commit6c1ecd8af0108b32a6c0c1ef285d1f8206179eac
treeed95468c32cd08923a63a4789bc0315218d60e79
parent245406a9986b21e86c080effa2bfde957a06f34c
io_uring: convert poll path to use io_cmd_type

Remove struct io_poll_iocb from io_kiocb, and convert the poll path to
use the io_cmd_type approach instead.

While at it, rename io_poll_iocb to io_poll which is consistent with the
other request type private structures.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c