diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-03-07 22:43:22 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-03-08 17:56:21 +0300 |
commit | 9817ad85899fb695f875610fb743cb18cf087582 (patch) | |
tree | 3df6fa502f1be6d4a8291c8fdd31c93164eb5709 /drivers/fpga/xilinx-selectmap.c | |
parent | deaef31bc1ec7966698a427da8c161930830e1cf (diff) | |
download | linux-9817ad85899fb695f875610fb743cb18cf087582.tar.xz |
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 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions