diff options
author | John Garry <[email protected]> | 2024-07-19 11:29:08 +0000 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-07-19 09:32:49 -0600 |
commit | 26d3bdb57ec3fa56eaf8d2e74b5d488e55f43013 (patch) | |
tree | 1cbef473c8fdd63b1bdd650191f6efc73ed53618 /scripts/rustdoc_test_builder.rs | |
parent | 226f0f6afc3e5c8903c6e57e1f6073ad8ad189b5 (diff) |
block: Catch possible entries missing from alloc_policy_name[]
Make BLK_TAG_ALLOC_x an enum and add a "max" entry.
Add a BUILD_BUG_ON() call to ensure that we are not missing entries in
hctx_flag_name[].
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: John Garry <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions