aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2021-04-13 18:10:37 +0200
committerJan Kara <[email protected]>2021-07-13 14:29:01 +0200
commitedc6d01bad7331b376a1a8f5c6d8e9221e9f9f37 (patch)
tree5cca3b28b2310be5cc9a5a43acea7df7bec4756f /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent448f94909eb7056e53c882b82514ea4f3adcf544 (diff)
f2fs: Convert to using invalidate_lock
Use invalidate_lock instead of f2fs' private i_mmap_sem. The intended purpose is exactly the same. By this conversion we fix a long standing race between hole punching and read(2) / readahead(2) paths that can lead to stale page cache contents. CC: Jaegeuk Kim <[email protected]> CC: Chao Yu <[email protected]> CC: [email protected] Acked-by: Chao Yu <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions