diff options
author | 2021-10-25 16:27:30 -0300 | |
---|---|---|
committer | 2021-10-27 12:34:37 +0200 | |
commit | 272531ac619b374ab474e989eb387162fded553f (patch) | |
tree | 558e414804f1ceb0daf34f1a5317f6008668fa2e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fanotify: Allow file handle encoding for unhashed events (diff) | |
download | wireguard-linux-272531ac619b374ab474e989eb387162fded553f.tar.xz wireguard-linux-272531ac619b374ab474e989eb387162fded553f.zip |
fanotify: Encode empty file handle when no inode is provided
Instead of failing, encode an invalid file handle in fanotify_encode_fh
if no inode is provided. This bogus file handle will be reported by
FAN_FS_ERROR for non-inode errors.
Link: https://lore.kernel.org/r/20211025192746.66445-16-krisman@collabora.com
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions