summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2025-08-24 05:15:59 +0300
committerSteve French <stfrench@microsoft.com>2025-08-25 17:40:38 +0300
commit0e08fa789d39aa01923e3ba144bd808291895c3c (patch)
tree6fdccc972d814ff58c026d8c423c6549a05ef840 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent1b237f190eb3d36f52dffe07a40b5eb210280e00 (diff)
downloadlinux-0e08fa789d39aa01923e3ba144bd808291895c3c.tar.xz
smb3 client: fix return code mapping of remap_file_range
We were returning -EOPNOTSUPP for various remap_file_range cases but for some of these the copy_file_range_syscall() requires -EINVAL to be returned (e.g. where source and target file ranges overlap when source and target are the same file). This fixes xfstest generic/157 which was expecting EINVAL for that (and also e.g. for when the src offset is beyond end of file). Cc: stable@vger.kernel.org Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions