aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2023-11-22 14:27:14 +0200
committerChristian Brauner <[email protected]>2023-11-24 10:39:19 +0100
commit3d5cd4911e04683df8f4439fddd788e00a2510a8 (patch)
tree3b5cd5db52f10ff455df222befb343a0c7821095 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent8802e580ee643e3f63c6b39ff64e7c7baa4a55ba (diff)
fs: create file_write_started() helper
Convenience wrapper for sb_write_started(file_inode(inode)->i_sb)), which has a single occurrence in the code right now. Document the false negatives of those helpers, which makes them unusable to assert that sb_start_write() is not held. Signed-off-by: Amir Goldstein <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions