aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-10-28 17:21:59 -0400
committerEric Paris <eparis@redhat.com>2010-10-28 17:22:16 -0400
commit8fcd65280abc4699510f1853ede31f43e8a3783a (patch)
tree9ef20b7c3ee0a4130d88922d7d4115beaa0c9dc0 /kernel
parentfsnotify: rename FS_IN_ISDIR to FS_ISDIR (diff)
downloadlinux-dev-8fcd65280abc4699510f1853ede31f43e8a3783a.tar.xz
linux-dev-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 'kernel')
0 files changed, 0 insertions, 0 deletions