diff options
author | Eric Paris <eparis@redhat.com> | 2010-10-28 23:21:59 +0200 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-10-28 23:22:16 +0200 |
commit | 8fcd65280abc4699510f1853ede31f43e8a3783a (patch) | |
tree | 9ef20b7c3ee0a4130d88922d7d4115beaa0c9dc0 /usr/Kconfig | |
parent | fsnotify: rename FS_IN_ISDIR to FS_ISDIR (diff) | |
download | linux-8fcd65280abc4699510f1853ede31f43e8a3783a.tar.xz linux-8fcd65280abc4699510f1853ede31f43e8a3783a.zip |
fanotify: ignore events on directories unless specifically requested
fanotify has a very limited number of events it sends on directories. The
usefulness of these events is yet to be seen and still we send them. This
is particularly painful for mount marks where one might receive many of
these useless events. As such this patch will drop events on IS_DIR()
inodes unless they were explictly requested with FAN_ON_DIR.
This means that a mark on a directory without FAN_EVENT_ON_CHILD or
FAN_ON_DIR is meaningless and will result in no events ever (although it
will still be allowed since detecting it is hard)
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'usr/Kconfig')
0 files changed, 0 insertions, 0 deletions