]> git.ipfire.org Git - thirdparty/linux.git/commit
io_uring/uring_cmd: add io_uring_cmd_tw_t type alias
authorCaleb Sander Mateos <csander@purestorage.com>
Tue, 2 Sep 2025 16:06:56 +0000 (10:06 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Sep 2025 01:21:12 +0000 (19:21 -0600)
commitdf3a7762ee24ba6a33d4215244e329ca300f4819
tree50b3ac9026e4c7279ecfbd24fc4edbd4eb0aceb8
parent8b9c9a2e7da11e50a1109a1f38bca0aecf25b185
io_uring/uring_cmd: add io_uring_cmd_tw_t type alias

Introduce a function pointer type alias io_uring_cmd_tw_t for the
uring_cmd task work callback. This avoids repeating the signature in
several places. Also name both arguments to the callback to clarify what
they represent.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20250902160657.1726828-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring/cmd.h
io_uring/uring_cmd.c