summaryrefslogtreecommitdiffstats
path: root/io_uring/rw.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-07 12:43:22 -0700
committerJens Axboe <axboe@kernel.dk>2024-03-08 07:56:21 -0700
commit9817ad85899fb695f875610fb743cb18cf087582 (patch)
tree3df6fa502f1be6d4a8291c8fdd31c93164eb5709 /io_uring/rw.c
parentdeaef31bc1ec7966698a427da8c161930830e1cf (diff)
downloadlinux-9817ad85899fb695f875610fb743cb18cf087582.tar.gz
linux-9817ad85899fb695f875610fb743cb18cf087582.tar.bz2
linux-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 'io_uring/rw.c')
0 files changed, 0 insertions, 0 deletions