io_uring: take comp_state from ctx
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 10 Feb 2021 00:03:22 +0000 (00:03 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Feb 2021 14:28:43 +0000 (07:28 -0700)
commitc5eef2b9449ba267f53bfa7cf63d2bc93acbee32
tree30947592c53a30fe41b9a34088a8904485023f6d
parent65453d1efbd20f3825beba2a9c93ffb2ec729ece
io_uring: take comp_state from ctx

__io_queue_sqe() is always called with a non-NULL comp_state, which is
taken directly from context. Don't pass it around but infer from ctx.

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