OSDN Git Service

io_uring: inline struct io_comp_state
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Aug 2021 19:18:11 +0000 (20:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:09:48 +0000 (13:09 -0600)
commitcd0ca2e048dc0ddea4f59354b0b8ce4548a76a91
tree5f1c41cc9bc7206a891ad536d193d0c2dbee7f04
parentbb943b8265c84e9553903161bc39ff45f427d00d
io_uring: inline struct io_comp_state

Inline struct io_comp_state into struct io_submit_state. They are
already coupled tightly, together with mixed responsibilities it
only brings confusion having them separately.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e55bba77426b399e3a2e54e3c6c267c6a0fc4b57.1628536684.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c