diff options
author | Amir Goldstein <[email protected]> | 2023-11-22 14:27:13 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-11-24 10:39:13 +0100 |
commit | 8802e580ee643e3f63c6b39ff64e7c7baa4a55ba (patch) | |
tree | 14e53613c2ced25b7be76deb980298adb1517408 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 6ae654392bb516a0baa47fed1f085d84e8cad739 (diff) |
fs: create __sb_write_started() helper
Similar to sb_write_started() for use by other sb freeze levels.
Unlike the boolean sb_write_started(), this helper returns a tristate
to distiguish the cases of lockdep disabled or unknown lock state.
This is needed for fanotify "pre content" events.
Signed-off-by: Amir Goldstein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Jan Kara <[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