io_uring: move all prep state for IORING_OP_{SEND,RECV}_MGS to prep handler
authorJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2019 15:58:21 +0000 (08:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 20 Dec 2019 16:55:23 +0000 (09:55 -0700)
commite47293fdf98998292a89d516c8f7b8b9eb5c5213
tree976b41eb9011740cdb96c277f02095eaf2dcdad5
parent3fbb51c18f5c15a23db74c4da79d3d035176c480
io_uring: move all prep state for IORING_OP_{SEND,RECV}_MGS to prep handler

Add struct io_sr_msg in our io_kiocb per-command union, and ensure that
the send/recvmsg prep handlers have grabbed what they need from the SQE
by the time prep is done.

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