lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210609155317.2831-1-jiweisun126@126.com>
Date:   Wed,  9 Jun 2021 23:53:17 +0800
From:   Jiwei Sun <jiweisun126@....com>
To:     linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:     jiwei.sun.bj@...com, Jiwei Sun <jiweisun126@....com>
Subject: [PATCH] namei: correct obsolete function name in the comment of follow_automount()

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 <jiweisun126@....com>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ