aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorDavid Howells <[email protected]>2023-05-22 14:49:53 +0100
committerJens Axboe <[email protected]>2023-05-24 08:42:16 -0600
commit123856f0e83f457a3a24d15f561a1dd5f0d4b482 (patch)
treea1b3b179663e314dba52bc63a023632ba1348c3d /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent6a3f30b8bdb23842aff5eea65b6a7693c49f5506 (diff)
splice: Check for zero count in vfs_splice_read()
Make vfs_splice_read() return immediately if the length is 0. Signed-off-by: David Howells <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Christian Brauner <[email protected]> cc: Jens Axboe <[email protected]> cc: Al Viro <[email protected]> cc: [email protected] cc: [email protected] cc: [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