io_uring: split out fixed file installation and removal
authorJens Axboe <axboe@kernel.dk>
Mon, 13 Jun 2022 10:42:56 +0000 (04:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Jun 2022 17:33:39 +0000 (11:33 -0600)
commitfb21d458d2128ac0285f6340255b185e813cc014
treed8fd7cdde1771026b4a8479b04dfd3f27455741f
parentef3d98fd33475ca48446fdf19663f80d45942f6f
io_uring: split out fixed file installation and removal

Put it with the filetable code, which is where it belongs. While doing
so, have the helpers take a ctx rather than an io_kiocb. It doesn't make
sense to use a request, as it's not an operation on the request itself.
It applies to the ring itself.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/filetable.c
io_uring/filetable.h
io_uring/openclose.c
io_uring/openclose.h
io_uring/rsrc.c