aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2024-11-18 10:50:14 +0000
committerJens Axboe <[email protected]>2024-11-19 10:30:02 -0700
commitd00eea91deaf363f83599532cb49fa528ab8e00e (patch)
treea0e245909d60724a6a71bf575dd0b635a7729ad3 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent34c1227035b3ab930a1ae6ab6f22fec1af8ab09e (diff)
block: Add extra checks in blk_validate_atomic_write_limits()
It is so far expected that the limits passed are valid. In future atomic writes will be supported for stacked block devices, and calculating the limits there will be complicated, so add extra sanity checks to ensure that the values are always valid. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: John Garry <[email protected]> Reviewed-by: Martin K. Petersen <[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