OSDN Git Service

io_uring: cleanly separate request types for iopoll
authorJens Axboe <axboe@kernel.dk>
Fri, 2 Sep 2022 21:16:29 +0000 (15:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2022 16:30:42 +0000 (10:30 -0600)
commita1119fb0711591c2aaf99be79d87ce8ebeb9d250
tree777ba8c1bd6447c1c3ed0a6cdd9b145df77a0162
parent585079b6e425387b5f8ec242fc38081c31ca41ee
io_uring: cleanly separate request types for iopoll

After the addition of iopoll support for passthrough, there's a bit of
a mixup here. Clean it up and get rid of the casting for the passthrough
command type.

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