aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-11-19 17:09:23 +0100
committerJens Axboe <[email protected]>2024-11-19 19:07:13 -0700
commit766a71ef65bb217ed8bf1c068ac14c7d3c15d487 (patch)
tree92c52550bbecf0e40d0c3ca987a507f032789d55 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parente888810bc4f471f85989a0991aff28d2ac9f783b (diff)
block: return bool from get_disk_ro and bdev_read_only
get_disk_ro and bdev_read_only return boolean conditions, don't masquerade them as int. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: John Garry <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions