Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* '64' of https://github.com/jirislaby/liburing:
  test/fallocate: check for EOPNOTSUPP too (6.4)
  • Loading branch information
axboe committed Dec 5, 2024
2 parents ddd46b2 + a6e6b57 commit 19cfc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fallocate.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static int test_fallocate_rlimit(struct io_uring *ring)
goto err;
}

if (cqe->res == -EINVAL) {
if (cqe->res == -EINVAL || cqe->res == -EOPNOTSUPP) {
fprintf(stdout, "Fallocate not supported, skipping\n");
no_fallocate = 1;
goto skip;
Expand Down

0 comments on commit 19cfc58

Please sign in to comment.