]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: introduce type alias for io_tw_state
authorCaleb Sander Mateos <csander@purestorage.com>
Mon, 17 Feb 2025 02:25:04 +0000 (19:25 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Feb 2025 12:34:50 +0000 (05:34 -0700)
commitbcf8a0293a019bb0c4aebafdebe9a1e7a923249a
tree075a4aa0347e306e0b4bffe1efb24b53df62cd51
parent496f56bf9f1acf11ce14489f34d81ba6e4023f42
io_uring: introduce type alias for io_tw_state

In preparation for changing how io_tw_state is passed, introduce a type
alias io_tw_token_t for struct io_tw_state *. This allows for changing
the representation in one place, without having to update the many
functions that just forward their struct io_tw_state * argument.

Also add a comment to struct io_tw_state to explain its purpose.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Link: https://lore.kernel.org/r/20250217022511.1150145-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
13 files changed:
include/linux/io_uring_types.h
io_uring/futex.c
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/msg_ring.c
io_uring/notif.c
io_uring/poll.c
io_uring/poll.h
io_uring/rw.c
io_uring/rw.h
io_uring/timeout.c
io_uring/uring_cmd.c
io_uring/waitid.c