summaryrefslogtreecommitdiff
path: root/io_uring/splice.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-10-28 08:03:04 -0600
committerJens Axboe <axboe@kernel.dk>2024-10-29 13:43:28 -0600
commit743fb58a35cde8fe27b07ee5a985ae76563845e3 (patch)
tree2ccab09cd828f80231b3ada177a83a53ff2cc367 /io_uring/splice.h
parentaaa736b186239b7dc7778ae94c75f26c96972796 (diff)
downloadlinux-743fb58a35cde8fe27b07ee5a985ae76563845e3.tar.gz
linux-743fb58a35cde8fe27b07ee5a985ae76563845e3.tar.bz2
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 'io_uring/splice.h')
-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);