]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: move all prep state for IORING_OP_CONNECT to prep handler
authorJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2019 15:51:52 +0000 (08:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2019 16:52:48 +0000 (09:52 -0700)
commitae7da21dbfeb383ffc6b0d834dc02bb80018fe01
treef1f103927837d9de75b8b0547f2e5d83ad9b88fb
parent78cddffbd1340d6a6d632cfaec2ca7442c5e7202
io_uring: move all prep state for IORING_OP_CONNECT to prep handler

Add struct io_connect in our io_kiocb per-command union, and ensure
that io_connect_prep() has grabbed what it needs from the SQE.

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