From 8bb9d6ccd36062d16baa707b759809e1f494017e Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 8 May 2025 14:48:33 -0600 Subject: 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 --- io_uring/truncate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io_uring/truncate.c') diff --git a/io_uring/truncate.c b/io_uring/truncate.c index 62ee73d34d72..487baf23b44e 100644 --- a/io_uring/truncate.c +++ b/io_uring/truncate.c @@ -44,5 +44,5 @@ int io_ftruncate(struct io_kiocb *req, unsigned int issue_flags) ret = do_ftruncate(req->file, ft->len, 1); io_req_set_res(req, ret, 0); - return IOU_OK; + return IOU_COMPLETE; } -- cgit v1.2.3