summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorXing Guo <higuoxing@gmail.com>2025-10-16 11:53:30 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 16:20:38 +0200
commit2a87a1c5866c3677d79e641943ee2ec19444a932 (patch)
tree9adfa83d64456b3023678022839e8461cb6a9ff6 /include/net/aligned_data.h
parent095d692e5997ece300c89f10d903d5230090e6a0 (diff)
selftests: arg_parsing: Ensure data is flushed to disk before reading.
[ Upstream commit 0c1999ed33722f85476a248186d6e0eb2bf3dd2a ] test_parse_test_list_file writes some data to /tmp/bpf_arg_parsing_test.XXXXXX and parse_test_list_file() will read the data back. However, after writing data to that file, we forget to call fsync() and it's causing testing failure in my laptop. This patch helps fix it by adding the missing fsync() call. Fixes: 64276f01dce8 ("selftests/bpf: Test_progs can read test lists from file") Signed-off-by: Xing Guo <higuoxing@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20251016035330.3217145-1-higuoxing@gmail.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions