All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] namei: correct obsolete function name in the comment of follow_automount()
@ 2021-06-09 15:53 Jiwei Sun
  0 siblings, 0 replies; 2+ messages in thread
From: Jiwei Sun @ 2021-06-09 15:53 UTC (permalink / raw)
  To: linux-fsdevel, linux-kernel; +Cc: jiwei.sun.bj, Jiwei Sun

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@126.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] namei: correct obsolete function name in the comment of follow_automount()
@ 2021-06-09 15:33 Jiwei Sun
  0 siblings, 0 replies; 2+ messages in thread
From: Jiwei Sun @ 2021-06-09 15:33 UTC (permalink / raw)
  To: viro, linux-fsdevel, linux-kernel; +Cc: jiwei.sun.bj, Jiwei Sun

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@126.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-09 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 15:53 [PATCH] namei: correct obsolete function name in the comment of follow_automount() Jiwei Sun
  -- strict thread matches above, loose matches on Subject: below --
2021-06-09 15:33 Jiwei Sun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.