]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring: move ctx->restricted check into io_check_restriction()
authorJens Axboe <axboe@kernel.dk>
Mon, 12 Jan 2026 15:14:44 +0000 (08:14 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 13 Jan 2026 17:31:48 +0000 (10:31 -0700)
commit991fb85a1d43f0d0237a405d5535024f78a873e5
tree6501485f31cf89e45a9e390298e6dc608dfedbae
parent09bd84421defa0a9dcebdcdaf8b7deb1870855d0
io_uring: move ctx->restricted check into io_check_restriction()

Just a cleanup, makes the code easier to read without too many dependent
nested checks.

Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c