aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2021-04-21 17:18:39 +0200
committerJan Kara <[email protected]>2021-07-13 14:29:01 +0200
commit8bcbbe9c7c8e49281fc2e0a6c5455b87c85a9c2a (patch)
treee278ecd836e4441bd4af2d0bfdabcda6059e0ff3 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parentedc6d01bad7331b376a1a8f5c6d8e9221e9f9f37 (diff)
fuse: Convert to using invalidate_lock
Use invalidate_lock instead of fuse's 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: Miklos Szeredi <[email protected]> Reviewed-by: Miklos Szeredi <[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