]> www.infradead.org Git - users/dwmw2/linux.git/commit
io_uring: add io_uring_cmd_get_async_data helper
authorMark Harmstone <maharmstone@fb.com>
Fri, 3 Jan 2025 15:02:25 +0000 (15:02 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Jan 2025 12:51:08 +0000 (13:51 +0100)
commitb0af20d33f63c74985a6dd98344326e5111b2fea
tree2e25f55ef5c75b66cb8405cb4ebfe7e9a31295a7
parent3347fa658a1baecd61b007787d031b729cd86537
io_uring: add io_uring_cmd_get_async_data helper

Add a helper function in include/linux/io_uring/cmd.h to read the
async_data pointer from a struct io_uring_cmd.

Signed-off-by: Mark Harmstone <maharmstone@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
include/linux/io_uring/cmd.h