io_uring: make io_cqring_events() take 'ctx' as argument
authorJens Axboe <axboe@kernel.dk>
Wed, 6 Nov 2019 18:27:53 +0000 (11:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2019 13:57:21 +0000 (06:57 -0700)
commit84f97dc2333c626979bb547fce343a1003544dcc
tree1455230c19b79a2506553b2a749b9719b34d6b00
parent2665abfd757fb35a241c6f0b1ebf620e3ffb36fb
io_uring: make io_cqring_events() take 'ctx' as argument

The rings can be derived from the ctx, and we need the ctx there for
a future change.

No functional changes in this patch.

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