summaryrefslogtreecommitdiff
path: root/io_uring/openclose.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-13 04:42:56 -0600
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:16 -0600
commitf110ed8498afa6ff8e9a8c08fb26880e02117616 (patch)
tree113cdc59771c97795a6782c18bf6c5dba0deeceb /io_uring/openclose.h
parent8fcf4c48f44bd7b1b75db139f56ff1ad6477379e (diff)
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>
Diffstat (limited to 'io_uring/openclose.h')
-rw-r--r--io_uring/openclose.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/openclose.h b/io_uring/openclose.h
index 9f578f3fad87..4b1c28d3a66c 100644
--- a/io_uring/openclose.h
+++ b/io_uring/openclose.h
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
-int __io_close_fixed(struct io_kiocb *req, unsigned int issue_flags,
+int __io_close_fixed(struct io_ring_ctx *ctx, unsigned int issue_flags,
unsigned int offset);
int io_openat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);