Skip to content
Commit e1c048ba authored by Eric Paris's avatar Eric Paris
Browse files

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: default avatarEric Paris <eparis@redhat.com>
parent 4afeff85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment