io_uring: remove dead 'ctx' argument and move forward declaration
authorJens Axboe <axboe@kernel.dk>
Thu, 9 Jul 2020 21:07:01 +0000 (15:07 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 9 Jul 2020 21:07:01 +0000 (15:07 -0600)
commit4349f30ecb8068d146a1e57bb12f46e745323b4c
tree05d186d26f388ea113dcf9ec47b243a438cc213e
parent2bc9930e78fe0cb3e7b7e3169de0a40baee38d29
io_uring: remove dead 'ctx' argument and move forward declaration

We don't use 'ctx' at all in io_sq_thread_drop_mm(), it just works
on the mm of the current task. Drop the argument.

Move io_file_put_work() to where we have the other forward declarations
of functions.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c