]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring: use the right type for creds iteration
authorJens Axboe <axboe@kernel.dk>
Thu, 12 Feb 2026 02:47:38 +0000 (19:47 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Feb 2026 03:31:58 +0000 (20:31 -0700)
commitd7d95207caf41a8b5a595ed257cb4ce69726d3d7
treede3c62a023735ffa4e1e9800da4cde3262f2d74b
parentf4d0668b38d8784f33a9a36c72ed5d0078247538
io_uring: use the right type for creds iteration

In io_ring_ctx_wait_and_kill(), struct creds *creds is used to
iterate and prune credentials. But the correct type is struct cred.
This doesn't matter as the variable isn't used at all, only the index
is used. But it's confusing using a type that isn't valid, so fix it
up.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c