• Jens Axboe's avatar
    io_uring: import_single_range() returns 0/-ERROR · 3a901598
    Jens Axboe authored
    Unlike the other core import helpers, import_single_range() returns 0 on
    success, not the length imported. This means that links that depend on
    the result of non-vec based IORING_OP_{READ,WRITE} that were added for
    5.5 get errored when they should not be.
    
    Fixes: 3a6820f2 ("io_uring: add non-vectored read/write commands")
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    3a901598
io_uring.c 169 KB