diff options
author | Gabriel Krisman Bertazi <krisman@collabora.com> | 2021-10-25 22:27:29 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-10-27 13:34:31 +0300 |
commit | 74fe4734897a2da2ae2a665a5e622cd490d36eaf (patch) | |
tree | 102187017721e7412ccb921d51868e32932828a1 /net/decnet | |
parent | 12f47bf0f0990933d95d021d13d31bda010648fd (diff) | |
download | linux-74fe4734897a2da2ae2a665a5e622cd490d36eaf.tar.xz |
fanotify: Allow file handle encoding for unhashed events
Allow passing a NULL hash to fanotify_encode_fh and avoid calculating
the hash if not needed.
Link: https://lore.kernel.org/r/20211025192746.66445-15-krisman@collabora.com
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'net/decnet')
0 files changed, 0 insertions, 0 deletions