diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2026-02-06 14:58:04 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-02-09 20:12:36 -0700 |
| commit | 7cb3a68376da0bc0afab8157223cb479c97de9ff (patch) | |
| tree | e9e561e601e4db408c630c7222edb58dbf438903 /rust/alloc/collections/git@git.tavy.me:linux.git | |
| parent | 4adc13ed7c281c16152a700e47b65d17de07321a (diff) | |
io_uring: simplify IORING_SETUP_DEFER_TASKRUN && !SQPOLL check
io_uring_sanitise_params() already rejects flags that include both
IORING_SETUP_SQPOLL and IORING_SETUP_DEFER_TASKRUN. So it's unnecessary
to check IORING_SETUP_SQPOLL in io_uring_create() when
IORING_SETUP_DEFER_TASKRUN has already been checked. Drop the
!(ctx->flags & IORING_SETUP_SQPOLL) check for the task_complete case.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
