aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/rw.c
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/rw.c')
-rw-r--r--io_uring/rw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_uring/rw.c b/io_uring/rw.c
index 9b51afdae505a..20140d3505f18 100644
--- a/io_uring/rw.c
+++ b/io_uring/rw.c
@@ -985,9 +985,9 @@ copy_iov:
static void io_cqring_ev_posted_iopoll(struct io_ring_ctx *ctx)
{
- io_commit_cqring_flush(ctx);
if (ctx->flags & IORING_SETUP_SQPOLL)
io_cqring_wake(ctx);
+ io_commit_cqring_flush(ctx);
}
void io_rw_fail(struct io_kiocb *req)