Skip to content
Snippets Groups Projects
Commit f2ccb5ae authored by Stefan Metzmacher's avatar Stefan Metzmacher Committed by Jens Axboe
Browse files

io_uring: make io_kiocb_to_cmd() typesafe


We need to make sure (at build time) that struct io_cmd_data is not
casted to a structure that's larger.

Signed-off-by: default avatarStefan Metzmacher <metze@samba.org>
Link: https://lore.kernel.org/r/c024cdf25ae19fc0319d4180e2298bade8ed17b8.1660201408.git.metze@samba.org


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent addebd9a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment