Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5122289pxj; Wed, 9 Jun 2021 09:36:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6DvCb36dnOCUv0ZEZeaCi0Bi5DOY6FCE6nQRYoRtzq816YD8FzmNKyzLIawmA1Ol4swkS X-Received: by 2002:aa7:c913:: with SMTP id b19mr288206edt.323.1623256604026; Wed, 09 Jun 2021 09:36:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623256604; cv=none; d=google.com; s=arc-20160816; b=ztHw+Ppgq48rWqxOxQulIhN3VnAJh0b+Ox2A79FxxTYVrvRH8yJdErHZhkm8ISPyq9 YMw1kRgaTUIy0tMO1qGkW566zsCjU1UpB6Ymhiqeq8xBgvTSYrbMPaO/pLHEw9VBUlJx BO0ZTiv+TUlJJjKrtSaG0zcVL5b67ziryiidFRwpHw6NXjJJ+F/EIg/sQ82bwFd26XSF 6CWMIOKmznWgrSzpiLbO0fk9fgBUHxpTdf6XODRjVhOu5Ybp0Gopyaj9tns+BQEjWqUJ 7d2ifFd7RsLujywEhA3/Oi0jsu2qBORG9SQMTh4mb2xSIqycxBW4CbymvG0jEjsi/wEJ 1SSA== 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=BaMgKFqg6+8JDh+NoZ2+9oL+p4kHtrcuGBjTAFdLjgE=; b=JtsNh/+QvT3hmDjJiktE9Fn+s8PAZvR+jmUWFrs8ny52iPlfjfgs+4FukCOI9rkKX1 gcOB5VCfgAUP3L3kIi/b4xH+c8G3KzxGcmQ9ZFk/dxkI6ybor3q/NJbSITDOeZgv8Is0 who5IcTS39nFkRjKIYNBayFhBjh7wRfPLTJoqEiBezNoZdM1OYSfBI5Dd8fxgLqSGjPh Kg7Y8R6nDnmTKgCd4NWv0SjnEoAbUPGsd7g4ovmFcIAaQURXgXXJt1skvrd6/53XUhmI wpO34cS3FKx8ow2W2W4580q2BSqhlvEbf6xM4M3NeeGwGwwhbhVw9UY8sin+/fTcvNJD kdRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=ZTlPXSpa; 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 n7si165751edr.392.2021.06.09.09.36.20; Wed, 09 Jun 2021 09:36:44 -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=ZTlPXSpa; 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 S233040AbhFIQNX (ORCPT + 99 others); Wed, 9 Jun 2021 12:13:23 -0400 Received: from m15112.mail.126.com ([220.181.15.112]:52696 "EHLO m15112.mail.126.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbhFIQNW (ORCPT ); Wed, 9 Jun 2021 12:13:22 -0400 X-Greylist: delayed 1079 seconds by postgrey-1.27 at vger.kernel.org; Wed, 09 Jun 2021 12:13: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=BaMgK Fqg6+8JDh+NoZ2+9oL+p4kHtrcuGBjTAFdLjgE=; b=ZTlPXSpa7LN55UsH9bt60 w2vCF17ok6ypWxv5COPEinuEwqG9iT9e3SsJCFaEFplCy45oFySaklTE1+QMJOSc mbsCgrQL/+fvROuxY2XgkvwtVXO4c10IjSCt6Dr8apLUw/shdkWxS5xV8OQjzmzD ViN80NnPiyJFbjIImDxjJk= Received: from localhost.localdomain (unknown [120.244.62.156]) by smtp2 (Coremail) with SMTP id DMmowACnKUck6MBgl1u1CA--.4917S2; Thu, 10 Jun 2021 00:11:17 +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 comment of follow_automount() Date: Thu, 10 Jun 2021 00:11:11 +0800 Message-Id: <20210609161111.15326-1-jiweisun126@126.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: DMmowACnKUck6MBgl1u1CA--.4917S2 X-Coremail-Antispam: 1Uf129KBjvdXoWruF4xWFy8XrWUXF47Zw47Arb_yoW3tFb_Wr 47WFs7Ww4kXr97AFy7C3y7tryUW3Wjyr1UAr1rKFy7uwn5WFZYyr1qkr4kJas0qrWrXFWY kryxGrW5Aw1agjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUn5UUUUUUUU== X-Originating-IP: [120.244.62.156] X-CM-SenderInfo: 5mlzvxpvxqijaw6rjloofrz/1tbijgWsjVpECl6lmQAAsc 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