Skip to content
Commit 54f2a2f4 authored by David Howells's avatar David Howells Committed by Al Viro
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ce40fa78
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment