]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove ctx from comp_state
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 10 Feb 2021 00:03:11 +0000 (00:03 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Feb 2021 14:28:43 +0000 (07:28 -0700)
commit971dc1fd6cbc628c408b6c4d162ff86fd0487aa4
treed995eb748f5da0ed5f10b771764db97ba2a9e973
parentda1bc69d465fc8e49b685d8e47f14fa8279e8735
io_uring: remove ctx from comp_state

completion state is closely bound to ctx, we don't need to store ctx
inside as we always have it around to pass to flush.

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