]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdcc96bd0cdbfebbbfa8e104b9adc5828eafca6ce
tree97393733ab2ac9626dcc5ad92e22cc425a46eb2a
parent8070de2f331c488c859d0054b7d78ea2a71cee8c
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