diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-12-05 16:15:45 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-12-05 06:54:51 -0700 |
commit | 2e6e1fde32d7d41cf076c21060c329d3fdbce25c (patch) | |
tree | 942e8f9c13e8a4773a44317934fc4dbb60793330 /fs/exportfs | |
parent | 78076bb64aa8ba5b7207c38b2660a9e10ffa8cc7 (diff) |
io_uring: fix error handling in io_queue_link_head
In case of an error io_submit_sqe() drops a request and continues
without it, even if the request was a part of a link. Not only it
doesn't cancel links, but also may execute wrong sequence of actions.
Stop consuming sqes, and let the user handle errors.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/exportfs')
0 files changed, 0 insertions, 0 deletions