On 09/08/17 16:39, David Howells wrote: > 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? I thought about that and ended up thinking ENOENT was more sensible but I'll look at it again. Thanks Ian