Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1824378ybl; Thu, 30 Jan 2020 06:40:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwfWYLWirHOwyyPt/QZht+kak6Eq4ZOqtoEfbcU68S/lZNglY1+7vx5KO8aRRtq8DqokkJw X-Received: by 2002:aca:4183:: with SMTP id o125mr2950091oia.125.1580395254736; Thu, 30 Jan 2020 06:40:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580395254; cv=none; d=google.com; s=arc-20160816; b=UUfzxYismE5jjvxp2HRcrI4mBfBcSnBTsfGKst+1z+T4wSnaTyb0qKna1YYMVORMp6 tYORsbcoMe1TwnIEUCmi4YvtM+OohP2mewDcK1kbmA+EYjc1QQoiXoIh8EqmVytoBWJM RYhy70J2QCvl4RqC27wNLujAklaGEmvm4bB60sMC6FniNcsNzh6TI9lZX/5z9rF7vJoe VhQMy6BhQkk4r/PLlJMTEG67K4fGzri3kt3iYHIEMBOV0smEvUyy21sNYlL8vN1qTz9m JRFQfcoXiRhHB3JpQFEIHOPZ6323Y0wJWs8TIR/YslCHkJTM0OR/pvTF3h4K9QKFjmUh hIKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=BTI2BkJDlFhAGahAI2xWQI4xGFKJRBd4HPFAg5oyO9k=; b=krKKyY9HQcTaE98dhOe9UehO2DCMdtU3Sv4gvTcRqQZtUT9QKuX0wGFpTlimW02QGB Koj+HXk9ohbkP5wo1eNUBh+two+87w0BvQbWA9WbHqETpIeg31kEsHCbViVnMOA3Lnx9 yMAYmDV3CPKvnOltsXB1NuxEdq/jNh6A2UAsrLEVNH1hZuLg/BNBSSNJaCSMwmWubVnN NRKV/pH/lA7GPBL/I5nrrFwd8L2C6m6/fSlBU0PasRFsDYRnYvcoe0A02KLU02I/9K35 MumjUerClWEGpR1+VDrlHmvXQqAJd5jYKTbQI+jk2r9SqFwQD/qT4labU6g/UDd6jLkD bh5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si2792097oiz.237.2020.01.30.06.40.41; Thu, 30 Jan 2020 06:40:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727348AbgA3Oiz (ORCPT + 99 others); Thu, 30 Jan 2020 09:38:55 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:60446 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbgA3Oiz (ORCPT ); Thu, 30 Jan 2020 09:38:55 -0500 Received: from [109.134.33.162] (helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ixAy5-0001c1-DG; Thu, 30 Jan 2020 14:38:53 +0000 Date: Thu, 30 Jan 2020 15:38:53 +0100 From: Christian Brauner To: Al Viro Cc: linux-fsdevel@vger.kernel.org, Linus Torvalds , linux-kernel@vger.kernel.org, Aleksa Sarai , David Howells , Eric Biederman Subject: Re: [PATCH 03/17] follow_automount(): get rid of dead^Wstillborn code Message-ID: <20200130143853.ferv2mtgwka5q4lx@wittgenstein> References: <20200119031423.GV8904@ZenIV.linux.org.uk> <20200119031738.2681033-1-viro@ZenIV.linux.org.uk> <20200119031738.2681033-3-viro@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200119031738.2681033-3-viro@ZenIV.linux.org.uk> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 19, 2020 at 03:17:15AM +0000, Al Viro wrote: > From: Al Viro > > 1) no instances of ->d_automount() have ever made use of the "return > ERR_PTR(-EISDIR) if you don't feel like mounting anything" - that's > a rudiment of plans that got superseded before the thing went into > the tree. Despite the comment in follow_automount(), autofs has > never done that. > > 2) if there's no ->d_automount() in dentry_operations, filesystems > should not set DCACHE_NEED_AUTOMOUNT in the first place. None have > ever done so... > > Signed-off-by: Al Viro I can't speak to 1) but code seems correct: Acked-by: Christian Brauner