diff --git a/io_uring/register.c b/io_uring/register.c index 29393f93a414..a3fef649272b 100644 --- a/io_uring/register.c +++ b/io_uring/register.c @@ -180,7 +180,7 @@ static int io_register_enable_rings(struct io_ring_ctx *ctx) if (!(ctx->flags & IORING_SETUP_R_DISABLED)) return -EBADFD; - if (ctx->flags & IORING_SETUP_SINGLE_ISSUER && !ctx->submitter_task) { + if (ctx->flags & IORING_SETUP_SINGLE_ISSUER) { ctx->submitter_task = get_task_struct(current); /* * Lazy activation attempts would fail if it was polled before