Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5124124pxj; Wed, 9 Jun 2021 09:39:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/ZFN0ZPLquLEHwV0iVMie6jRraxGDzlZKjmg8+WLbBe+edpaHlKmqrL3WH/YMW1snMWNg X-Received: by 2002:a17:906:9888:: with SMTP id zc8mr760685ejb.26.1623256756362; Wed, 09 Jun 2021 09:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623256756; cv=none; d=google.com; s=arc-20160816; b=c+UImHPmDCWzz39DRfa1xrhFUnAtADx2mIyJSHYe3VwWZ8pOuAy7fXHXPEf7UYG6Is uGkpLLKtiKT064VyqUA3uNYL2PlyHkanyotAjx10/2LCt2fnGIYSaOnqwrec8v8ID7tL hZo3B1FAfUuT3XiqnwMlpykQd8DJzwYln8RuJEDFKvLqVUwSIlRh4DIkwxDqwzqDmvHu 7yg9mhUsB9f200+row9BjjxuQdS2Ci5CLvvCvTS7/GA1zphAvfP1F4QIF82mNwioBtVB 4iEWaIDQRt9Dyw1t+Q3CfmF7QSa5lLtuJuQfJhCDD68sEgHFO8StUsAqnmvXxEsJG/HK Pg4w== 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=e0i8T/gyqcZDoPjAzUVLZTJ6FoqF0zdWoG2tHmIXNrBM9tKHXdVtvE1W+whb2TdKVV yRLahuhHfWk4payZnID/ju4rTRIRz+hVTINeLxpBGFlYtP6OO5Wnr2mQokYizYz0KO9A kpB3jeMZtOQ+JvFhbw/TS8XQET6HUXFBDI7+TzTDhHEPs9cKtkFbrcu9BVJzww/qmWBF inhaEPJw9HFRtwu5DkH0trKknxfdvGm2efXFrFNjXqjyGehTFqURWBhT++QjMSVELpzp jop+XVuBHNpdnzQ3+UPlDnRmoDOH/Isg7ZU/265yaHyMDq3vFomTkjT8f/Kxxlr/+2xF NJKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=St5zOQEZ; 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 g26si114229edm.102.2021.06.09.09.38.52; Wed, 09 Jun 2021 09:39:16 -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=St5zOQEZ; 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 S232185AbhFIQ0L (ORCPT + 99 others); Wed, 9 Jun 2021 12:26:11 -0400 Received: from m15112.mail.126.com ([220.181.15.112]:56143 "EHLO m15112.mail.126.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbhFIQ0K (ORCPT ); Wed, 9 Jun 2021 12:26:10 -0400 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=St5zOQEZ8BrWcoDt5okHk kk4ozNqQImiBZppCOcNx9YI8NWk1V6rNjRKbuAsfbPv974/dE2q78aiUSssp4Zml rJDMA0LvlObCUan0vDMfgR7TTnJxG4xzKbRJ/lSpICdj/0cGv6OWlPX2qAVX2/Wb 7AgoGFts2lBGBKpYFSILsg= Received: from localhost.localdomain (unknown [120.244.62.156]) by smtp2 (Coremail) with SMTP id DMmowAB3L0Xv48Bg+Ae1CA--.4846S2; Wed, 09 Jun 2021 23:53:20 +0800 (CST) From: Jiwei Sun To: 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:53:17 +0800 Message-Id: <20210609155317.2831-1-jiweisun126@126.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: DMmowAB3L0Xv48Bg+Ae1CA--.4846S2 X-Coremail-Antispam: 1Uf129KBjvdXoWruF4xWFy8XrWUXF47Zw47Arb_yoW3tFb_Wr 47WFs7Ww4kXr97AFy7C3y7tryUW3Wjyr1UAr1rKFy7uwn5WFZYyr1qkr4kJas0qrWrXFWY kryxGrW5Aw1agjkaLaAFLSUrUUUUbb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU0RbyJUUUUU== X-Originating-IP: [120.244.62.156] X-CM-SenderInfo: 5mlzvxpvxqijaw6rjloofrz/1tbicxCsjVpD9vYxTwAAsl 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