diff options
| author | Amir Goldstein <[email protected]> | 2023-11-22 12:27:15 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-11-24 09:39:19 +0000 |
| commit | 21b32e6a0ab5b174fa1ca2fb4c212577cf405d83 (patch) | |
| tree | deb60a18c0741ab4460fe2f15d7baafb4c7d2102 /net/unix/sysctl_net_unix.c | |
| parent | fs: create file_write_started() helper (diff) | |
| download | kernel-21b32e6a0ab5b174fa1ca2fb4c212577cf405d83.tar.gz kernel-21b32e6a0ab5b174fa1ca2fb4c212577cf405d83.zip | |
fs: create {sb,file}_write_not_started() helpers
Create new helpers {sb,file}_write_not_started() that can be used
to assert that sb_start_write() is not held.
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]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
