diff options
author | Eric Paris <eparis@redhat.com> | 2010-10-29 01:21:58 +0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-10-29 01:22:15 +0400 |
commit | e1c048ba786789afdc66f32d8394bb5a0014bbba (patch) | |
tree | 03a8ca0e2ca11d40f175442338ab6c75d772940c /include/linux/fsnotify.h | |
parent | 4afeff8505cb8a38e36c1ef2bd3447c4b8f87367 (diff) | |
download | linux-e1c048ba786789afdc66f32d8394bb5a0014bbba.tar.xz |
fanotify: do not send events for irregular files
fanotify_should_send_event has a test to see if an object is a file or
directory and does not send an event otherwise. The problem is that the
test is actually checking if the object with a mark is a file or directory,
not if the object the event happened on is a file or directory. We should
check the latter.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'include/linux/fsnotify.h')
0 files changed, 0 insertions, 0 deletions