commit | 54f2a2f42759b11ada761013a12f0e743702219a | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Thu Jan 29 12:02:36 2015 +0000 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Feb 22 11:38:42 2015 -0500 |
tree | 8d1cf4e87856eba3772b466ad4b145218b2f9c79 | |
parent | ce40fa78ef8f0e813392903c96de65b947298d16 [diff] |
fanotify: Fix up scripted S_ISDIR/S_ISREG/S_ISLNK conversions Fanotify probably doesn't want to watch autodirs so make it use d_can_lookup() rather than d_is_dir() when checking a dir watch and give an error on fake directories. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>