Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4087834pxb; Tue, 26 Jan 2021 12:04:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJytJzQzTx9FIRVrz/fUDQ5T/CLvjdEV8kYT8glWuZnNngegl+aoh/I1tzAHZHmiKeOh+1sy X-Received: by 2002:a17:907:9483:: with SMTP id dm3mr4457656ejc.120.1611691442400; Tue, 26 Jan 2021 12:04:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611691442; cv=none; d=google.com; s=arc-20160816; b=i0gaYvWrPdISF5Y1IcZlzpB04Iy5MqHWL0/yT1rJBVtV2Ylpw1n7s2F8q4fdu5F8BL IdfI5mT63yCPIJiyRh/ZMTN37A8wcpUEPyZruNHjntnkb2llgJYSPi4tfxNoU4juxHnD xALI1SQL86fyNUrs6zX0S8Z+zChGrK6gqSsf2GF6E2OGT+JiVBSKbKwkbBq9acKCrpzn wAxhw6/Gi0O+gQ6qKArm5Z79jGLbr8+ENl9zwo+H4mjnXNjISAKI3Gmu3lBscdZJ4QJC ztaCkh6ng5H/WLdtmiKThbamkMxrGMK6iHEG5RS8xo10wZral329MxiKsVgbDtUGrBjr Q70A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=X+btyhdpzhml5CUOh/lebyOZ8pAmUTvpNwRnX6Tn5P8=; b=pYUVDZByR21U62NxJIKXuLgUKbWCUWFovhueztFBcidNxk9A34rIjrKLBh2Jb6q8lY SycxYzbq4MBcEv88YXZEII20q0ly/gesgpE36spzXMOqEOWpCLd5P6sRtln45uOAsam+ k9VXwS61BA4n/yYplvAkP21AQQPBe++zXtzfxjwqXePdS2Wbn5dHjYVRiSFeMxHdRI5S KWp3uI1Zf7rzgHy80ZG6euKe2hUD0N1gQQsn7v7I+feYRP4LAdvJ1W01oE4LOr42Z2FE 1nEA6LrvUqoYBH7sQTBIcmBnvDDNBCy3SS+PLI2u2o0iMPQFCox7ZP2iee/reCXaZZDn cqgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PUEO9V3H; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 39si9292079edr.358.2021.01.26.12.03.34; Tue, 26 Jan 2021 12:04:02 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PUEO9V3H; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392208AbhAZRfn (ORCPT + 99 others); Tue, 26 Jan 2021 12:35:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389582AbhAZHlf (ORCPT ); Tue, 26 Jan 2021 02:41:35 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15330C0617A7; Mon, 25 Jan 2021 23:31:04 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id q12so21432869lfo.12; Mon, 25 Jan 2021 23:31:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X+btyhdpzhml5CUOh/lebyOZ8pAmUTvpNwRnX6Tn5P8=; b=PUEO9V3HWsSw67v/KkB+03UgqcgkxOc5c+bE+cLoQXxV4aHCMwTd4qdx8X6rL2L7pD Z8iKljr1r8J+3tAFWG/2B/axH5KhHAy6ZrH/LbzBVttDpxd8vT4XckDIz18eeYi36aKg uUKyE40LxM+63AP7oZ2Kcia3M5k9+3P2Kpj0GgD1zqlThk0RwCSj/rTnUFcdSglvMqzV l1d4AuZL3lcR+NgozXLGL4sLD6V2mMcgbqYqRx6DVJmRXqpKiSrClNjcuj099ayAfKcy u8Pk3mecPU/ZEI2Akn4fWBHb8ymibsD4TsKLPJ1XdycQTCz8iMOdCfml16Fh8r01Bkbt DgqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X+btyhdpzhml5CUOh/lebyOZ8pAmUTvpNwRnX6Tn5P8=; b=ENP/N/xPO7aqtjvWwdpgOPWhyCtlo1z2JAKvA5E7vu4YWo0oPsYqS3Kl80g5d29Cwf t345pakSXAZ73De6oPcGFV46eL5L9SJOv62EC6O/PkG12aLwX+pDxi2O1UqfO5JkNlZc 3e3qCFhNLXxbOnG7KjQF0TQsb2jdpXFT/mh9BfYJq+Pdl0EaUnW/bXP9hY01ulQk50JK OU0qXqdAg6U1z2IgLm+C6k6NZXSEjegHqkGoeHJHccypBdt8sjJ8JRwb6t1wdAhwLP47 aCHtdRdZKNAexjVJomUu+dAM1+fwI9AysXe8DvwbnxaPCDTbH+b6I/IwJmVeraNlMeUo aFPw== X-Gm-Message-State: AOAM5305w2vaDk9/8SihC/1CZcSn5YKYYgW+6gZB4IZQzxX+ESRmeCRg Ynw0ia5azhdPJodm8d+rFBZ00V6vDsj8cWC8N20= X-Received: by 2002:ac2:44b1:: with SMTP id c17mr1776277lfm.556.1611646262495; Mon, 25 Jan 2021 23:31:02 -0800 (PST) MIME-Version: 1.0 References: <20210126072443.33066-1-foxhlchen@gmail.com> In-Reply-To: <20210126072443.33066-1-foxhlchen@gmail.com> From: Fox Chen Date: Tue, 26 Jan 2021 15:30:51 +0800 Message-ID: Subject: Re: [PATCH 00/12] docs: path-lookup: Update pathlookup docs To: corbet@lwn.net, vegard.nossum@oracle.com, Al Viro , rdunlap@infradead.org, grandmaster@al2klimov.de Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 26, 2021 at 3:25 PM Fox Chen wrote: > > The Path lookup is a very complex subject in VFS. The path-lookup > document provides a very detailed guidance to help people understand > how path lookup works in the kernel.This document was originally > written based on three lwn articles five years ago. As times goes by, > some of the content was outdated. This patchset is intended to update > the document to make it more relevant to current codebase. > > > Fox Chen (12): > docs: path-lookup: update follow_managed() part > docs: path-lookup: update path_to_nameidata() parth > docs: path-lookup: update path_mountpoint() part > docs: path-lookup: update do_last() part > docs: path-lookup: remove filename_mountpoint > docs: path-lookup: Add macro name to symlink limit description > docs: path-lookup: i_op->follow_link replaced with i_op->get_link > docs: path-lookup: update i_op->put_link and cookie description > docs: path-lookup: no get_link() > docs: path-lookup: update WALK_GET, WALK_PUT desc > docs: path-lookup: update get_link() ->follow_link description > docs: path-lookup: update symlink description > > Documentation/filesystems/path-lookup.rst | 146 ++++++++++------------ > 1 file changed, 63 insertions(+), 83 deletions(-) > > -- > 2.30.0 > To help review the patches, I annotated and highlighted changes using hypothesis you can check the current docs: https://hyp.is/go?url=https%3A%2F%2Fwww.kernel.org%2Fdoc%2Fhtml%2Flatest%2Ffilesystems%2Fpath-lookup.html&group=__world__ the docs after patches applied: https://hyp.is/go?url=http%3A%2F%2Flinux-docs.54fox.com%2Flinux_docs%2Ffilesystems%2Fpath-lookup.html&group=__world__