]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e342efded034ae71cd40622476a97b96805ac77
tree05d186d26f388ea113dcf9ec47b243a438cc213e
parentdac21484a5828ae64fddee2a689215f0ea395069
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