io_uring/splice: open code 2nd direct file assignment
authorJens Axboe <axboe@kernel.dk>
Mon, 28 Oct 2024 14:03:04 +0000 (08:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 28 Oct 2024 14:06:55 +0000 (08:06 -0600)
commitfd2c28e7072bf19fc5809b53a963aa25101e8497
treecc7a93ad2dabd1f6786c5722de4e15a985ab337c
parent3e6e12f8f2260aecc65d279a4d0ec6e4519ecb41
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>
io_uring/opdef.c
io_uring/splice.c
io_uring/splice.h