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>
Wed, 22 Jun 2022 17:07:38 +0000 (11:07 -0600)
commit7cc638ca878e74d9f274fcffc3e41849f9240a54
treea4c9ddaa96b0fed4da751e62171a9e726eabf9b1
parent97d72235a09b2685002de6e4d498ef945e82167a
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