io_uring: inline struct sqe_submit
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 25 Nov 2019 20:14:39 +0000 (23:14 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Nov 2019 22:02:56 +0000 (15:02 -0700)
commitcf6fd4bd559ee61a4454b161863c8de6f30f8dca
tree97393733ab2ac9626dcc5ad92e22cc425a46eb2a
parentcc42e0ac17d3664a70e020dfe7897f14e7aa7453
io_uring: inline struct sqe_submit

There is no point left in keeping struct sqe_submit. Inline it
into struct io_kiocb, so any req->submit.field is now just req->field

- moves initialisation of ring_file into io_get_req()
- removes duplicated req->sequence.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c