diff options
author | Kanchan Joshi <[email protected]> | 2022-08-23 20:40:22 +0530 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-08-23 09:46:17 -0600 |
commit | a9c3eda7eada94e8cf29cb102aa80e1370d8fa2e (patch) | |
tree | d515190000581228e2a9b311f3ab379b2f732966 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 47abea041f897d64dbd5777f0cf7745148f85d75 (diff) |
io_uring: fix submission-failure handling for uring-cmd
If ->uring_cmd returned an error value different from -EAGAIN or
-EIOCBQUEUED, it gets overridden with IOU_OK. This invites trouble
as caller (io_uring core code) handles IOU_OK differently than other
error codes.
Fix this by returning the actual error code.
Signed-off-by: Kanchan Joshi <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions