diff options
| author | 2019-01-10 19:04:41 +0200 | |
|---|---|---|
| committer | 2019-02-07 16:38:36 +0100 | |
| commit | 0321e03cb4572fb3b56582bcb4927c1fe985b191 (patch) | |
| tree | d1b872b9b848f96c9bde1dd74b5f80a851c4b893 /tools/perf/scripts/python/powerpc-hcalls.py | |
| parent | fsnotify: report FS_ISDIR flag with MOVE_SELF and DELETE_SELF events (diff) | |
| download | wireguard-linux-0321e03cb4572fb3b56582bcb4927c1fe985b191.tar.xz wireguard-linux-0321e03cb4572fb3b56582bcb4927c1fe985b191.zip | |
fanotify: check FS_ISDIR flag instead of d_is_dir()
All fsnotify hooks set the FS_ISDIR flag for events that happen
on directory victim inodes except for fsnotify_perm().
Add the missing FS_ISDIR flag in fsnotify_perm() hook and let
fanotify_group_event_mask() check the FS_ISDIR flag instead of
checking if path argument is a directory.
This is needed for fanotify support for event types that do not
carry path information.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions
