From: Eric Paris Date: Thu, 28 Oct 2010 21:21:58 +0000 (-0400) Subject: fanotify: do not send events for irregular files X-Git-Tag: v2.6.37-rc1~17^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1c048ba786789afdc66f32d8394bb5a0014bbba;p=pandora-kernel.git 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 --- Reading git-diff-tree failed