io_uring: add BUILD_BUG_ON() to assert the layout of struct io_uring_sqe

With nesting of anonymous unions and structs it's hard to
review layout changes. It's better to ask the compiler
for these things.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Stefan Metzmacher 2020-01-29 14:39:41 +01:00 • committed by Jens Axboe
commit d7f62e825f