]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add end-of-bits marker and build time verify it
authorJens Axboe <axboe@kernel.dk>
Tue, 3 Mar 2020 22:28:17 +0000 (15:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Mar 2020 15:12:56 +0000 (09:12 -0600)
commit9973e510c8f344c349e7f34dd0f769041db386b2
tree2a3c3c50139c3e2979bcf8fb83c42f6c07470933
parent25421b43373c3ed65fef56a04f351a1e755662c5
io_uring: add end-of-bits marker and build time verify it

Not easy to tell if we're going over the size of bits we can shove
in req->flags, so add an end-of-bits marker and a BUILD_BUG_ON()
check for it.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c