commit | e1c048ba786789afdc66f32d8394bb5a0014bbba | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Oct 28 17:21:58 2010 -0400 |
committer | Eric Paris <eparis@redhat.com> | Thu Oct 28 17:22:15 2010 -0400 |
tree | 03a8ca0e2ca11d40f175442338ab6c75d772940c | |
parent | 4afeff8505cb8a38e36c1ef2bd3447c4b8f87367 [diff] |
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>