Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp693951pxb; Wed, 27 Jan 2021 19:33:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+MF7gW3661KHW4ofdv7LsyFLTHKPDmlXS9a3/jrWvzvaxMYeReSiYPUFaWd7TMUhuUsSB X-Received: by 2002:a05:6402:1249:: with SMTP id l9mr11321876edw.375.1611804823179; Wed, 27 Jan 2021 19:33:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611804823; cv=none; d=google.com; s=arc-20160816; b=U3sE/F6YSRwk/uUusCUPGUh6+OjHpKj2tsTqD6FEEPF/bRK/RWuB9T7MzNKRpGe3we z+sLL0H328L/zFqGxsUgKvuiu3Fi4hO7KHt21QG2LJekoC3Bf47jTN3D138oE9V+fuYZ 3GsAiSjFTpt+cAK65L2dVSgFm1Whh/4FnlrfiPTjpBcMNXbnIQxTfhAp83QXh8Zz4R6L 5Oy+LvCmqD84kHs1zwAlgmPsGeLXQy0hvpnbWGAHUJ/+wKNbr+YuETGR6tsl7lAy9GEq VJD9qWKXObVJkFlVX26EDpYldXsj0Ex2WNvqrmboPj/uoWQrCHSJ0V5M22za/FMUgcqr NZYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:references:in-reply-to :subject:cc:date:to:from; bh=7w/iPyjXOnX0Xm/xezGYvCXSDGT99I6VYndDvyV8tts=; b=hiRSO0n3zVUy1+0PRBQLcan+/Bi6zzGX79+I5V8oTL5Lbrhxg0stAYqQDANeoaMTVK B271R8LOsGW3bugk/M+VdMmTd8f4KnbnwqyrCsz2fmJshuEtkkzZeXfyjCLnAhT8Czil yp6C59oeM40N6I0k+ioXBzl0VPQGPVF6CtSEjQ9FWecR5xGtCcWGkCoOC3DSkDRoPM6U x2/BmEZZjub2OMz8WE25VPOfijqSGnwxxD5leZ9vNltBkPZTCE7Qb5KjgQtUT0dEVIqH hc3oFo8JBbKPbZSGG2NjBaI9QqfhGsUSzigY+r+c/29o9F90oGY6b1vHiQo3PGMWE7Gg sLGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j19si1819327ejb.482.2021.01.27.19.33.18; Wed, 27 Jan 2021 19:33:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231186AbhA1D3q (ORCPT + 99 others); Wed, 27 Jan 2021 22:29:46 -0500 Received: from mx2.suse.de ([195.135.220.15]:43382 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbhA1D3j (ORCPT ); Wed, 27 Jan 2021 22:29:39 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id D9ED6ABDA; Thu, 28 Jan 2021 03:28:57 +0000 (UTC) From: NeilBrown To: Fox Chen , corbet@lwn.net, vegard.nossum@oracle.com, viro@zeniv.linux.org.uk, rdunlap@infradead.org, grandmaster@al2klimov.de Date: Thu, 28 Jan 2021 14:28:51 +1100 Cc: Fox Chen , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/12] docs: path-lookup: update path_mountpoint() part In-Reply-To: <20210126072443.33066-4-foxhlchen@gmail.com> References: <20210126072443.33066-1-foxhlchen@gmail.com> <20210126072443.33066-4-foxhlchen@gmail.com> Message-ID: <87bld9hh8s.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, Jan 26 2021, Fox Chen wrote: > path_mountpoint() doesn't exist anymore. Have been folded > into path_lookup_at when flag is set with LOOKUP_MOUNTPOINT. > check out commit:161aff1d93abf0e5b5e9dbca88928998c155f677 > > Signed-off-by: Fox Chen > --- > Documentation/filesystems/path-lookup.rst | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/filesystems/path-lookup.rst b/Documentation/fi= lesystems/path-lookup.rst > index 2ad96e1e3c49..4e77c8520fa9 100644 > --- a/Documentation/filesystems/path-lookup.rst > +++ b/Documentation/filesystems/path-lookup.rst > @@ -492,7 +492,8 @@ not try to revalidate the mounted filesystem. It eff= ectively > contains, through a call to ``mountpoint_last()``, an alternate > implementation of ``lookup_slow()`` which skips that step. This is > important when unmounting a filesystem that is inaccessible, such as > -one provided by a dead NFS server. > +one provided by a dead NFS server. In the current kernel, path_mountpoi= nt > +has been merged into ``path_lookup_at()`` with a new flag LOOKUP_MOUNTPO= INT. You've taken a very different approach here. Rather than re-telling the story you have added a note (like a foot-note) that the details have changed, withouy trying to re-weave the story. The is easier to get right, but doesn't produce as nice a result. Maybe this is a good approach, it depends on how much effort you are willing/able to spend on the task. IF you do stick with this approach: it is "path_lookupat", not "path_lookup_at". NeilBrown >=20=20 > Finally ``path_openat()`` is used for the ``open()`` system call; it > contains, in support functions starting with "``do_last()``", all the > --=20 > 2.30.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCAAsFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAmASL3QOHG5laWxiQHN1 c2UuZGUACgkQOeye3VZigbk7LBAAoHzg9hUgx9WXb5zNozeNQKVpGYXIKC4XWwAW E6DABgVNaeeh7KCzuInQ2LJocXyAejC4oPd6D45yEQSZJ90VBMicsnYYnQ7QphFL g4ahxIWyow8AGNZDRsWbnkZ3qOu9ebnPj+o5q5KzOIyvv/e20zfDAK5sLJSfzByt RSvNh2p/IQQC+onb7GlSUFWz38Vjw06+UrOajJGxVVTE8epN2xQT8ZGpsQC04O+h nGy/DVPvuTxWH4gHbolqCuh51sRERRZmNs9RHA3SCFYNcwXf+fMDnogOuAhNPiDM ZaubUJhGbQuYoGwN+AJnnXK5lagCj4+FkLkM54aleIhvPp1wCyJReZh82ORvEyie +Eyw6d61xInhfz0OgWNylqS30VA8i3L006yId5oILJt2nj94QC02LO/v9khRw8wG SKMWwvgvMJDotcy+SH1dM40QsPFewp5tt+hjlbLabVcNamPt+gV57NVrmpkDaeyS qzUv7liyKcTx0BIyh/1awIJtE5Wlla0HgQRvYAHGCMYc3XtjlPPGc1tzzHUGyFZN xsaczIAJnbqndcWUjPqbkpfBmrLEilB6bt6E+/2efrFV7i8759h6P4QSsnF3VrNo /o/DvRlf58eiJxzVhhgiVIqiYll+g4+Wn2IdVLXE5IFY2XuR0ykvd0wTsSmYPYuw srTvWCY= =DlKb -----END PGP SIGNATURE----- --=-=-=--