Skip to content

Commit

Permalink
test/iopoll: fix over-eager no_hybrid check
Browse files Browse the repository at this point in the history
The enter case can be run, don't skip it if hybrid iopoll isn't
available.

Fixes: 3c94fb1 ("test/iopoll: don't fail if HYBRID_IOPOLL isn't available")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
axboe committed Dec 19, 2024
1 parent 3c94fb1 commit c5eead2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/iopoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ static int test_io_uring_submit_enters(const char *file)
unsigned head;
struct io_uring_cqe *cqe;

if (no_iopoll || no_hybrid)
if (no_iopoll)
return 0;

ring_flags = IORING_SETUP_IOPOLL;
Expand Down

0 comments on commit c5eead2

Please sign in to comment.