Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5121824pxj; Wed, 9 Jun 2021 09:36:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyb5Uu6/vkZWqp24Wlz4NPp40PcGt0lVs55mnk57exCPSKGip4ZGKdJ1CAU+Edu0TYUbqgV X-Received: by 2002:a17:906:390f:: with SMTP id f15mr769782eje.270.1623256569435; Wed, 09 Jun 2021 09:36:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623256569; cv=none; d=google.com; s=arc-20160816; b=bN5bLzfMO8qY57QYrBye155m/9YCGQGuVlE/ZuIAy8rca4BKhLsrfEHjjJcXEjbLM3 YeKe98L0HLcs8ai7W3+BzUap3HJDYzYNDBWDoXm0BhmRVB89och4LbM4gQbPRmShFIGp msfo9dF0KUxnkWHn/9hTjC8yqfej3q5JWqOZW+stg82ibLFA5yDDQQqczUph0CogxJqf alv3yyLibkAsJccipHb2HrcM9CLvF6Pz22dWoIfhdISnlBT6BO1D0VPJ8bL9n0YaDhwt rrk+iw+xG7swGgIoNmYVSrEJidp5T7E3QbR93YUmbRlNghN+UsxOt4eKZjlYPmwaMpPO mDHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ptM90HSZ6sdnNK05Wih+YIg7PGWvyECjSDOjnxjxsP4=; b=bV/mxBgtD5MZObU+85pdXmDoGWqIvGY6ptLBBQNNnc4CqFpsns/gqW1iDdNiVRuV2t lasSR5gIlP3cZXt56TXzJ7YJbUPxIaD7AwlzAGZPXvtxYJnVgRMGUvOqLb7qJOVkvuix lNvjjLNpcpZeDcwxBWPLKzW1/Favd9tp9cDQgm+yBikHcNYoA6tlwjifl1KhlWOcp9O5 DgT0UURGvbkQp1NbDxpfxMcvQKQNR1Qnz37rVJLlqks3B3GhFqxSmcYoTM9lXW9kJ4JM QJHY/XEC1091+n3nvi7VYammyJGM7iMRT1Yyy57r0i8gICKNfD+xBSSvP0WRKnfXVmFJ g+lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=i4H77GIX; 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=NONE dis=NONE) header.from=126.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w23si215351ejf.188.2021.06.09.09.35.45; Wed, 09 Jun 2021 09:36:09 -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=@126.com header.s=s110527 header.b=i4H77GIX; 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=NONE dis=NONE) header.from=126.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234765AbhFIQH2 (ORCPT + 99 others); Wed, 9 Jun 2021 12:07:28 -0400 Received: from m15113.mail.126.com ([220.181.15.113]:58718 "EHLO m15113.mail.126.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234707AbhFIQH1 (ORCPT ); Wed, 9 Jun 2021 12:07:27 -0400 X-Greylist: delayed 1886 seconds by postgrey-1.27 at vger.kernel.org; Wed, 09 Jun 2021 12:07:16 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=ptM90 HSZ6sdnNK05Wih+YIg7PGWvyECjSDOjnxjxsP4=; b=i4H77GIXQ1zy1AmWxkG3k 2+MTCFUqRKWA78nBZaaRrJqQFCEW8+xpy6qOnREOWVT/0yjwO1kAzxzkuxwD/puk V+PQvXQk+JnA3o4YZeYtRk8sAmfohwFzPsl8kkr7ub7GfsyO0/W4XeosRHCNvOOt O5ZaGGGNSaZvjTDT9FhgY4= Received: from localhost.localdomain (unknown [120.244.62.156]) by smtp3 (Coremail) with SMTP id DcmowADnQcBc38BgOy+vSA--.40666S2; Wed, 09 Jun 2021 23:33:48 +0800 (CST) From: Jiwei Sun To: viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: jiwei.sun.bj@qq.com, Jiwei Sun Subject: [PATCH] namei: correct obsolete function name in the comment of follow_automount() Date: Wed, 9 Jun 2021 23:33:14 +0800 Message-Id: <20210609153314.181344-1-jiweisun126@126.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: DcmowADnQcBc38BgOy+vSA--.40666S2 X-Coremail-Antispam: 1Uf129KBjvdXoWruF4xWFy8XrWUXF47Zw47Arb_yoW3tFb_Wr 47WFs7Ww4kXr97AFy7C3y7tryUW3Wjyr1UAr1rKFy7uwn5WFZYyr1qkr4kJas0qrWrXFWY kryxGrW5Aw1agjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU06T5PUUUUU== X-Originating-IP: [120.244.62.156] X-CM-SenderInfo: 5mlzvxpvxqijaw6rjloofrz/1tbimxysjVx5dbKedAAAsu Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The function follow_managed() has been renamed to __traverse_mounts() since commit 9deed3ebca24 ("new helper: traverse_mounts()"). So modify the obsolete function in the comment. Signed-off-by: Jiwei Sun --- fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/namei.c b/fs/namei.c index 216f16e74351..e362c274eac6 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1251,7 +1251,7 @@ static bool choose_mountpoint(struct mount *m, const struct path *root, /* * Perform an automount - * - return -EISDIR to tell follow_managed() to stop and return the path we + * - return -EISDIR to tell __traverse_mounts() to stop and return the path we * were called with. */ static int follow_automount(struct path *path, int *count, unsigned lookup_flags) -- 2.25.1