diff options
author | 2021-10-25 16:27:38 -0300 | |
---|---|---|
committer | 2021-10-27 12:37:20 +0200 | |
commit | 4bd5a5c8e6e5cd964e9738e6ef87f6c2cb453edf (patch) | |
tree | 0bbe923f386411b6ca8fce6e911da7e8e93d5b2f /fs/notify/fsnotify.c | |
parent | fanotify: Wrap object_fh inline space in a creator macro (diff) | |
download | linux-4bd5a5c8e6e5cd964e9738e6ef87f6c2cb453edf.tar.gz linux-4bd5a5c8e6e5cd964e9738e6ef87f6c2cb453edf.tar.bz2 linux-4bd5a5c8e6e5cd964e9738e6ef87f6c2cb453edf.zip |
fanotify: Add helpers to decide whether to report FID/DFID
Now that there is an event that reports FID records even for a zeroed
file handle, wrap the logic that deides whether to issue the records
into helper functions. This shouldn't have any impact on the code, but
simplifies further patches.
Link: https://lore.kernel.org/r/20211025192746.66445-24-krisman@collabora.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/fsnotify.c')
0 files changed, 0 insertions, 0 deletions