Skip to content
Commit 00d23d51 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: ensure read requests go through -ERESTART* transformation



We need to call kiocb_done() for any ret < 0 to ensure that we always
get the proper -ERESTARTSYS (and friends) transformation done.

At some point this should be tied into general error handling, so we
can get rid of the various (mostly network) related commands that check
and perform this substitution.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9dab14b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment