aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2021-02-04 18:05:42 +0100
committerJan Kara <[email protected]>2021-07-13 14:29:00 +0200
commitd4f5258eae7b38c2a28d0a7b28a6d0a8c1f9fe8e (patch)
tree9878725ed6feb4691c42d900917fe89775ee8439 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent7506ae6a7033f617ca5fea53e356fb1f7bd98010 (diff)
ext4: Convert to use mapping->invalidate_lock
Convert ext4 to use mapping->invalidate_lock instead of its private EXT4_I(inode)->i_mmap_sem. This is mostly search-and-replace. 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: <[email protected]> CC: Ted Tso <[email protected]> Acked-by: Theodore Ts'o <[email protected]> Reviewed-by: Darrick J. Wong <[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