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)
commitba88ff112bdfde8103a8143f867bcdc46bc0e50f
treed995eb748f5da0ed5f10b771764db97ba2a9e973
parent258b29a93bfe74a57c01e1b10b698d5b62e173fe
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