diff options
author | Damien Le Moal <[email protected]> | 2021-08-11 12:36:59 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-18 07:21:11 -0600 |
commit | a553a835ca57668b0d9907d8ec2507ec51292d9a (patch) | |
tree | 1d9f304bbc3e11244f921f46b5e88bf3e98c88c0 /lib/debugobjects.c | |
parent | 25bca50e523cbe96c0207fbb92f22ff2bc28e9aa (diff) |
block: change ioprio_valid() to an inline function
Change the ioprio_valid() macro in include/usapi/linux/ioprio.h to an
inline function declared on the kernel side in include/linux/ioprio.h.
Also improve checks on the class value by checking the upper bound
value.
Signed-off-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions