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>
Mon, 25 Jul 2022 00:39:10 +0000 (18:39 -0600)
commit8d4388d1166faa5e16fd100157c9cb3c9e982397
tree6853071b16f1817cd2363f5d3cc4d1607d2b5c3c
parent3c306fb2f9463fd0e0e896dde9e3e53097d0e41e
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