On Wed, Mar 22, 2017 at 02:20:15PM -0400, Amir Goldstein wrote: > Well, the behavior was changed in kernel 4.7 (and stable kernels) by > commit by Al Viro: > fac7d19 fix EOPENSTALE bug in do_last() > > Since that commit userspace will be able to see this error in fanotify events. Unless *notify somehow uses do_last() directly, that commit should have no effect on it (and it definitely has no effect on dentry_open() callers)...