Re: [PATCH 1/3] autofs - fix AT_NO_AUTOMOUNT not being honored

From: David Howells
Date: Wed Aug 09 2017 - 04:39:17 EST


Ian Kent <raven@xxxxxxxxxx> wrote:

> In order to handle the AT_NO_AUTOMOUNT for both system calls the
> negative dentry case in follow_automount() needs to be changed to
> return ENOENT when the LOOKUP_AUTOMOUNT flag is clear (and the other
> required flags are clear).

Should the be EREMOTE instead of ENOENT?

David