summaryrefslogtreecommitdiffstats
path: root/io_uring/statx.c
diff options
context:
space:
mode:
authorKanchan Joshi <joshi.k@samsung.com>2022-08-23 17:10:22 +0200
committerJens Axboe <axboe@kernel.dk>2022-08-23 17:46:17 +0200
commita9c3eda7eada94e8cf29cb102aa80e1370d8fa2e (patch)
treed515190000581228e2a9b311f3ab379b2f732966 /io_uring/statx.c
parentio_uring: fix off-by-one in sync cancelation file check (diff)
downloadlinux-a9c3eda7eada94e8cf29cb102aa80e1370d8fa2e.tar.xz
linux-a9c3eda7eada94e8cf29cb102aa80e1370d8fa2e.zip
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 <joshi.k@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/statx.c')
0 files changed, 0 insertions, 0 deletions