Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2086418pxb; Sun, 18 Apr 2021 18:23:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQ8wxsA/PZS9EMGK91Kx7rg4YqLJDHGI/geF17O2tt+PG/AauuHoyZDRGMresABiUmzCtr X-Received: by 2002:a17:90a:6b4f:: with SMTP id x15mr22073427pjl.227.1618795394916; Sun, 18 Apr 2021 18:23:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618795394; cv=none; d=google.com; s=arc-20160816; b=NGjO3/8X8goop8iALnxbYUYrGh9Uk06bIcjgfXlCNHceQagdM7hdVccG6bJx+ZgadK sZHqPhqR7vyetoIeULJIMy9GBk72u8QPmlV1xOOhrn3BB5knxVSzLdqsCIgccE+HfLTi kZ6FdUyP/CyK22pK/3wOaF2rT7qj7fpFv6CjGmaq4qYZdpVeP9LIHd+QLch52dXuih15 XoUR6BBl7y7TxbMJUt3+XUWZpfyg+OMiY47W+xmc2rULY3FV3awwkVMv8T3dilPJUUHm S4GdwYESNprShHqI1vDKNKM3uRinbuIDDKoJzcG2hLZkYL2B//2mqy6qFq2GSIg23hi+ Dbzw== 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=ymJaIW+JM/oDa1y/XFdvqm3hiOHfzqkgHDhvG4zbwy8=; b=k3QHkKhCv2TyQBII4PiACuXfYKIkwLACS+49ZoBXqOKl9wSfO4O6BKftNthy6epaa2 ZYv0/vr8qn8KKdhyH50tX6t7mD60ShdwvVf47Djw/4GLgb4Cde9paExDDoUKS6jHluGZ 0rVocXA8/LU551q2Ccm+PxAEONcbVpTfLmQKDbckTz4PgCPUDORzRQTS82wIQdxswR6y iQJQwpFRgE5vTsqDTemxb3O/EIviq0KrUKD1Aoahh95AOy9AzZepGf3ecrL0Qw6Z7nC4 iei2l5wq7VH750Ff9zbecUvPlAoru8CrjyKg0YRKhLr1pWr7EuSdD2qbPq5UuGISYmIf v4Qg== 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 c1si15293113pjo.94.2021.04.18.18.23.02; Sun, 18 Apr 2021 18:23:14 -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; 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 S236819AbhDSBW6 (ORCPT + 99 others); Sun, 18 Apr 2021 21:22:58 -0400 Received: from mx2.suse.de ([195.135.220.15]:52870 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233117AbhDSBW6 (ORCPT ); Sun, 18 Apr 2021 21:22:58 -0400 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 7221BAC79; Mon, 19 Apr 2021 01:22:28 +0000 (UTC) From: NeilBrown To: Fox Chen Date: Mon, 19 Apr 2021 11:22:22 +1000 Cc: Fox Chen , corbet@lwn.net, vegard.nossum@oracle.com, viro@zeniv.linux.org.uk, rdunlap@infradead.org, grandmaster@al2klimov.de, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org Subject: Re: [PATCH v2 06/12] docs: path-lookup: Add macro name to symlink limit description In-Reply-To: <20210316054727.25655-7-foxhlchen@gmail.com> References: <20210316054727.25655-1-foxhlchen@gmail.com> <20210316054727.25655-7-foxhlchen@gmail.com> Message-ID: <875z0j2hm9.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, Mar 16 2021, Fox Chen wrote: > Add macro name MAXSYMLINKS to the symlink limit description, so > that it is consistent with path name length description above. > > Signed-off-by: Fox Chen Reviewed-by: NeilBrown Thanks, NeilBrown > --- > Documentation/filesystems/path-lookup.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/filesystems/path-lookup.rst b/Documentation/fi= lesystems/path-lookup.rst > index 66697db74955..af5c20fecfef 100644 > --- a/Documentation/filesystems/path-lookup.rst > +++ b/Documentation/filesystems/path-lookup.rst > @@ -992,8 +992,8 @@ is 4096. There are a number of reasons for this limi= t; not letting the > kernel spend too much time on just one path is one of them. With > symbolic links you can effectively generate much longer paths so some > sort of limit is needed for the same reason. Linux imposes a limit of > -at most 40 symlinks in any one path lookup. It previously imposed a > -further limit of eight on the maximum depth of recursion, but that was > +at most 40 (MAXSYMLINKS) symlinks in any one path lookup. It previously= imposed > +a further limit of eight on the maximum depth of recursion, but that was > raised to 40 when a separate stack was implemented, so there is now > just the one limit. >=20=20 > --=20 > 2.30.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJCBAEBCAAsFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAmB8204OHG5laWxiQHN1 c2UuZGUACgkQOeye3VZigbll0BAAxAkcuSwygyC2EySl49TyLBmXGhClYhXtIvG+ eSaFOOJLsn4d0t/F+lfrTCDrMYdJFvtrONYqrhXuuAmqvRktHVVr6aT7ptGJhLRm wD4D7NhtbZc+sywj2ov53BgvMewqRJACR/4yIJn//HO7I/QoLvlnDAy/5LpvowPy 0dZg1vId27wJ+iXoejR6c//4ebo2KwKDO5XFdHfmvfFuUnN2NVqo93FexquJSx1k DhMoem4xS9m9Q0neCeG9ne8/AxwGXBOJamKzo//YLBvIAGCnvN0KD0YJvq7EShm1 DQBs5aRXGbpzBhuqnTFJ5c/ZegWZL8JZpil4CgKsLnrkCtxF6NLIbG6XLp7Mjezt 56rfTuVawkQQbKX+HVNU6p7+J0BJJ1yVHkiaQdd6jhAvlGVwazl3b3iMj6q5+l6m SiCsdzH2beBrDB3gjd1j7SBnP7NxhW8+SZ9oty73XpjfiN5LnywJXb//mDRaOazy u6NGDSg4NnE9TzFnk+EQuMB9Qqfze7854YywyJU0XxJBBDb4DdbY0GcEuHOWvahp CrnpMmjmhwy/JB0G0US/tR4IXtlD+Y0frM+WuaL9NOnenI7MoP+XezGXRxoBuBDT 11o4LIuZxLWwY/tPzBK+/UpUffsZBwlx2mMxsaBvsEaqBYDeS+hnWjUwc6UcOhGH 0BSf04o= =u3T4 -----END PGP SIGNATURE----- --=-=-=--