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>
Wed, 4 Mar 2020 03:04:47 +0000 (20:04 -0700)
commit5ccf9e9e457dcb6c17737cc050e8ff4c51a59237
tree51192b40b93e7f105bf461a1d6f5ba365a364da7
parent897bca3df74967d9fa96933a8bab7280716180fb
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