summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2023-01-09 20:45:56 +0300
committerJens Axboe <axboe@kernel.dk>2023-01-30 01:18:33 +0300
commita3df2e456c0f9db4cc7f2013eb0beb853945b937 (patch)
tree42f3c52ad690e18c0749e5b4e52963409d24a1d4 /drivers/block
parentc9c77418a98273fe96835c42666f7427b3883f48 (diff)
downloadlinux-a3df2e456c0f9db4cc7f2013eb0beb853945b937.tar.xz
block: add a BUILD_BUG_ON() for adding more bio flags than we have space
We have BIO_FLAG_LAST in the enum for bio specific flags, but it's not used to check that we're not exceeding the size of them. Add such a check. Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions