Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752694AbdHIIjM (ORCPT ); Wed, 9 Aug 2017 04:39:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58926 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752324AbdHIIjL (ORCPT ); Wed, 9 Aug 2017 04:39:11 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4E4167AE85 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=dhowells@redhat.com Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <150216641255.11652.4204561328197919771.stgit@pluto.themaw.net> References: <150216641255.11652.4204561328197919771.stgit@pluto.themaw.net> To: Ian Kent Cc: dhowells@redhat.com, Andrew Morton , autofs mailing list , Ondrej Holy , Colin Walters , Kernel Mailing List , linux-fsdevel Subject: Re: [PATCH 1/3] autofs - fix AT_NO_AUTOMOUNT not being honored MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4688.1502267949.1@warthog.procyon.org.uk> Date: Wed, 09 Aug 2017 09:39:09 +0100 Message-ID: <4689.1502267949@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Wed, 09 Aug 2017 08:39:11 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 320 Lines: 10 Ian Kent 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