io_uring: move req link into submit_state
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 18 Feb 2021 18:29:42 +0000 (18:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Feb 2021 20:13:18 +0000 (13:13 -0700)
commita1ab7b35db8f262cd74edff62b47b4d90f84f997
tree2d73114b7680415074775ded71d624cabc843249
parenta6b8cadcea86da0fe92de5c2e6e82824cb6fb57c
io_uring: move req link into submit_state

Move struct io_submit_link into submit_state, which is a part of a
submission state and so belongs to it. It saves us from explicitly
passing it, and init/deinit is now nicely hidden in
io_submit_state_[start,end].

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