diff options
author | Gabriel Krisman Bertazi <krisman@collabora.com> | 2021-10-25 16:27:30 -0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-10-27 12:34:37 +0200 |
commit | 272531ac619b374ab474e989eb387162fded553f (patch) | |
tree | 558e414804f1ceb0daf34f1a5317f6008668fa2e /.get_maintainer.ignore | |
parent | 74fe4734897a2da2ae2a665a5e622cd490d36eaf (diff) | |
download | linux-272531ac619b374ab474e989eb387162fded553f.tar.bz2 |
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 '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions