diff options
author | Eric Paris <eparis@redhat.com> | 2010-10-28 17:21:58 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-10-28 17:22:15 -0400 |
commit | e1c048ba786789afdc66f32d8394bb5a0014bbba (patch) | |
tree | 03a8ca0e2ca11d40f175442338ab6c75d772940c /arch/sh/mm | |
parent | 4afeff8505cb8a38e36c1ef2bd3447c4b8f87367 (diff) | |
download | op-kernel-dev-e1c048ba786789afdc66f32d8394bb5a0014bbba.zip op-kernel-dev-e1c048ba786789afdc66f32d8394bb5a0014bbba.tar.gz |
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 'arch/sh/mm')
0 files changed, 0 insertions, 0 deletions