summaryrefslogtreecommitdiffstats
path: root/io_uring/splice.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-10-28 15:03:04 +0100
committerJens Axboe <axboe@kernel.dk>2024-10-29 20:43:28 +0100
commit743fb58a35cde8fe27b07ee5a985ae76563845e3 (patch)
tree2ccab09cd828f80231b3ada177a83a53ff2cc367 /io_uring/splice.h
parentio_uring: specify freeptr usage for SLAB_TYPESAFE_BY_RCU io_kiocb cache (diff)
downloadlinux-743fb58a35cde8fe27b07ee5a985ae76563845e3.tar.xz
linux-743fb58a35cde8fe27b07ee5a985ae76563845e3.zip
io_uring/splice: open code 2nd direct file assignment
In preparation for not pinning the whole registered file table, open code the second potential direct file assignment. This will be handled by appropriate helpers in the future, for now just do it manually. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
-rw-r--r--io_uring/splice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io_uring/splice.h b/io_uring/splice.h
index 542f94168ad3..b9b2848327fb 100644
--- a/io_uring/splice.h
+++ b/io_uring/splice.h
@@ -3,5 +3,6 @@
int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
int io_tee(struct io_kiocb *req, unsigned int issue_flags);
+void io_splice_cleanup(struct io_kiocb *req);
int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
int io_splice(struct io_kiocb *req, unsigned int issue_flags);