diff options
author | 2024-03-07 12:43:22 -0700 | |
---|---|---|
committer | 2024-03-08 07:56:21 -0700 | |
commit | 9817ad85899fb695f875610fb743cb18cf087582 (patch) | |
tree | 3df6fa502f1be6d4a8291c8fdd31c93164eb5709 /scripts/generate_rust_analyzer.py | |
parent | io_uring/net: correctly handle multishot recvmsg retry setup (diff) | |
download | linux-rng-9817ad85899fb695f875610fb743cb18cf087582.tar.xz linux-rng-9817ad85899fb695f875610fb743cb18cf087582.zip |
io_uring/net: remove dependency on REQ_F_PARTIAL_IO for sr->done_io
Ensure that prep handlers always initialize sr->done_io before any
potential failure conditions, and with that, we now it's always been
set even for the failure case.
With that, we don't need to use the REQ_F_PARTIAL_IO flag to gate on that.
Additionally, we should not overwrite req->cqe.res unless sr->done_io is
actually positive.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions