OSDN Git Service

io_uring: add more build check for uapi
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 27 Apr 2021 15:13:53 +0000 (16:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 29 Apr 2021 19:26:18 +0000 (13:26 -0600)
commitb0d658ec88a695861c3fd78ef783c1181f81a6e2
tree0ba3afe3ae4ea956d3d7f620a31e8fab7fd13213
parentdddca22636c9062f284e755e2a49fb8863db8a82
io_uring: add more build check for uapi

Add a couple of BUILD_BUG_ON() checking some rsrc uapi structs and SQE
flags.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/ff960df4d5026b9fb5bfd80994b9d3667d3926da.1619536280.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c