aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/uring_cmd.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2025-05-08 20:48:33 +0000
committerJens Axboe <[email protected]>2025-05-21 14:41:16 +0000
commit8bb9d6ccd36062d16baa707b759809e1f494017e (patch)
tree5b4b1a9c872fab174a08c09fe3b788e6358c3bc3 /io_uring/uring_cmd.c
parentio_uring: add new helpers for posting overflows (diff)
downloadkernel-8bb9d6ccd36062d16baa707b759809e1f494017e.tar.gz
kernel-8bb9d6ccd36062d16baa707b759809e1f494017e.zip
io_uring: finish IOU_OK -> IOU_COMPLETE transition
IOU_COMPLETE is more descriptive, in that it explicitly says that the return value means "please post a completion for this request". This patch completes the transition from IOU_OK to IOU_COMPLETE, replacing existing IOU_OK users. This is a purely mechanical change. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/uring_cmd.c')
-rw-r--r--io_uring/uring_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/uring_cmd.c b/io_uring/uring_cmd.c
index 8a6b0ddef796..fe84c934734e 100644
--- a/io_uring/uring_cmd.c
+++ b/io_uring/uring_cmd.c
@@ -265,7 +265,7 @@ int io_uring_cmd(struct io_kiocb *req, unsigned int issue_flags)
req_set_fail(req);
io_req_uring_cleanup(req, issue_flags);
io_req_set_res(req, ret, 0);
- return IOU_OK;
+ return IOU_COMPLETE;
}
int io_uring_cmd_import_fixed(u64 ubuf, unsigned long len, int rw,