diff options
author | Gabriel Krisman Bertazi <krisman@collabora.com> | 2021-10-25 16:27:28 -0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-10-27 12:34:25 +0200 |
commit | 12f47bf0f0990933d95d021d13d31bda010648fd (patch) | |
tree | 91e6308596227c968bf9452aa737c79e3bcddeda /mm/hugetlb_cgroup.c | |
parent | 330ae77d2a5b0af32c0f29e139bf28ec8591de59 (diff) |
fanotify: Support null inode event in fanotify_dfid_inode
FAN_FS_ERROR doesn't support DFID, but this function is still called for
every event. The problem is that it is not capable of handling null
inodes, which now can happen in case of superblock error events. For
this case, just returning dir will be enough.
Link: https://lore.kernel.org/r/20211025192746.66445-14-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 'mm/hugetlb_cgroup.c')
0 files changed, 0 insertions, 0 deletions