commit | a72fd224e37bf6a0630bce302deebbccbc236ba2 | [log] [tgz] |
---|---|---|
author | Amir Goldstein <amir73il@gmail.com> | Thu Oct 04 00:25:34 2018 +0300 |
committer | Jan Kara <jack@suse.cz> | Thu Oct 04 13:28:29 2018 +0200 |
tree | f4d2451ae1391a8369e9b34c3fefc58a72f680e0 | |
parent | 007d1e8395eaa59b0e7ad9eb2b53a40859446a88 [diff] |
fanotify: simplify handling of FAN_ONDIR fanotify mark add/remove code jumps through hoops to avoid setting the FS_ISDIR in the commulative object mask. That was just papering over a bug in fsnotify() handling of the FS_ISDIR extra flag. This bug is now fixed, so all the hoops can be removed along with the unneeded internal flag FAN_MARK_ONDIR. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>