summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorCaleb Sander Mateos <csander@purestorage.com>2026-02-07 00:58:04 +0300
committerJens Axboe <axboe@kernel.dk>2026-02-10 06:12:36 +0300
commit7cb3a68376da0bc0afab8157223cb479c97de9ff (patch)
treee9e561e601e4db408c630c7222edb58dbf438903 /include/uapi/linux/errqueue.h
parent4adc13ed7c281c16152a700e47b65d17de07321a (diff)
downloadlinux-7cb3a68376da0bc0afab8157223cb479c97de9ff.tar.xz
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 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions