Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2827409pxb; Mon, 19 Apr 2021 15:17:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2qacxURf+M/IXZwm/P1qgneqB85xMWDKgHVMcShMhPQodtJd28/yxLvKe07qdBmCaVJYE X-Received: by 2002:a17:906:77c5:: with SMTP id m5mr23146990ejn.201.1618870670016; Mon, 19 Apr 2021 15:17:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618870670; cv=none; d=google.com; s=arc-20160816; b=oOg9Vb2IsGzOOMsEwWy1X3YcWB6XDi8dRuCh2lQvucDEf5Or5EoHa41mtiR9z/KFhF lcivwx9VQBMD1ZCuWFvvbIGI3VUBHVWAmLixo+rQgaQMmcE+5zEpuaHm+Jeyx8LhUg8C huJGsbn7ugqEbGSNqj0z43ICojuMCjwWQwl9GGcECGKb5omj2Z5Y0mJHF8RkyxcGvPkr B4FiSOsDBJqbjS26/xR4gdEOM4NRekDWNI5pNEsdIbcEywpytI6BfMXlFbrJxml6Jojz vCDc7Cx19q8MtxDl5lzcnti+aPY2zhtjwFpHKEvPErEDq96mjz4kzB6LhiJ5VNUqYHXX ya5Q== 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:date:references :in-reply-to:subject:cc:to:from:dkim-signature:dkim-filter; bh=yaDA6z7FVDEXYdGxGBTspjFNCzFzqHlqCi96e7FE6vE=; b=bb1/Y3IO7E/4gLzIJJwoL3HM92Q2meYEtWOWt48R1CnsXweNqkJmWlwM6uNhUHGvlD i/sDBwnn09ZNQy77mg6c9xG0Wq7LFwjPvHPWQZfWoDErY7IvHL75oPqqEL9r4tyl7tZQ YSKAZ0QMygs81xDbQqeONSPpWfk/bSUccklKjCFlDlwTdwwnR2g0J49iP1gOfv3AlL88 LWbwn1pXhSuKPMBoirNHTYHK000vbshO4oVtVmqqKm5sKFSARyVTu36kXOusAsXNixYO gXfl4N8ddS1/TE0ew5tIZjGxQMQqS6jq+gHAFlReZZbEjVkCR5SvM9ddLWd3C3wzqY/U P4Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lwn.net header.s=20201203 header.b=BAyfQt58; 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 e13si13396849ejd.412.2021.04.19.15.17.27; Mon, 19 Apr 2021 15:17:50 -0700 (PDT) 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=@lwn.net header.s=20201203 header.b=BAyfQt58; 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 S241643AbhDSTXE (ORCPT + 99 others); Mon, 19 Apr 2021 15:23:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239503AbhDSTXD (ORCPT ); Mon, 19 Apr 2021 15:23:03 -0400 Received: from ms.lwn.net (ms.lwn.net [IPv6:2600:3c01:e000:3a1::42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61454C06174A; Mon, 19 Apr 2021 12:22:33 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:281:8300:104d::5f6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 448F19B1; Mon, 19 Apr 2021 19:22:32 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 448F19B1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1618860152; bh=yaDA6z7FVDEXYdGxGBTspjFNCzFzqHlqCi96e7FE6vE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=BAyfQt58cduIYo8UmnsWtFq9fjlKSTrLj5iGya+fWB3aTmYzUXBXaQ9kdHU80gwGO /zQWX2SU+0LOCesJ+w3/Ts4gPb0dTIofc0njZT1cs7JQLLiSoOXRdnG2edndbEuIje czqVuyy98X0sx+vSkMxJ2dNsmf/AHDeXK/ezTV0sr18RUWqs/8yyPt1T/dEjvq/gju lqHFzhmzBJWkvpF77VzAfR3Iqj0SXJ8p3lONSxnUgqRaZxRd5m0VBJaAdS0kUuieL9 lPGjR6QQYdhAWfUEJMtPC1xldo5eapzQch6lHZMXjLpmmLPwo7M/rUTCEPpJxhHTIB P3mAO7DClOkMw== From: Jonathan Corbet To: Fox Chen , Matthew Wilcox Cc: Neil Brown , vegard.nossum@oracle.com, Al Viro , rdunlap@infradead.org, grandmaster@al2klimov.de, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Greg KH Subject: Re: [PATCH v2 01/12] docs: path-lookup: update follow_managed() part In-Reply-To: References: <20210316054727.25655-1-foxhlchen@gmail.com> <20210316054727.25655-2-foxhlchen@gmail.com> <20210419021730.GV2531743@casper.infradead.org> <20210419032513.GW2531743@casper.infradead.org> Date: Mon, 19 Apr 2021 13:22:31 -0600 Message-ID: <87fszmaxl4.fsf@meer.lwn.net> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fox Chen writes: > On Mon, Apr 19, 2021 at 11:25 AM Matthew Wilcox wrote: >> >> On Mon, Apr 19, 2021 at 10:33:00AM +0800, Fox Chen wrote: >> > On Mon, Apr 19, 2021 at 10:17 AM Matthew Wilcox wrote: >> > > You can drop ``..`` from around function named which are followed with >> > > (). d74b0d31ddde ("Docs: An initial automarkup extension for sphinx") >> > > marks them up automatically. >> > > >> > >> > Got it, thanks for letting me know. But I will still use them in this >> > patch series to keep consistency with the remaining parts of the >> > document. >> >> Well, you weren't. For example: >> >> +As the last step of ``walk_component()``, ``step_into()`` will be called either >> +directly from walk_component() or from handle_dots(). It calls >> +``handle_mount()``, to check and handle mount points, in which a new >> >> Neither of the functions on the second line were using ``. > > Oh, That was a mistake, They should've been wrapped with ``. > Thanks for pointing it out. I will go through the whole patch set and > fix this type of inconsistency in V3. Please, if possible, go toward the bare function() form rather than using literals...it's easier to read and the docs system will automatically create cross references for you. Thanks, jon