]> Gentwo Git Trees - linux/.git/commit
io_uring/register: drop redundant submitter_task check
authorCaleb Sander Mateos <csander@purestorage.com>
Tue, 2 Sep 2025 21:51:07 +0000 (15:51 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Sep 2025 01:20:24 +0000 (19:20 -0600)
commit8b9c9a2e7da11e50a1109a1f38bca0aecf25b185
tree6322e46cb28a8ccff8750559c2a11dfc28345699
parent37500634d0a8f931e15879760fb70f9b6f5d5370
io_uring/register: drop redundant submitter_task check

For IORING_SETUP_SINGLE_ISSUER io_ring_ctx's, io_register_resize_rings()
checks that the current task is the ctx's submitter_task. However, its
caller __io_uring_register() already checks this. Drop the redundant
check in io_register_resize_rings().

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250902215108.1925105-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/register.c