All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiwei Sun <jiweisun126@126.com>
To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: jiwei.sun.bj@qq.com, Jiwei Sun <jiweisun126@126.com>
Subject: [PATCH] namei: correct obsolete function name in the comment of follow_automount()
Date: Wed,  9 Jun 2021 23:53:17 +0800	[thread overview]
Message-ID: <20210609155317.2831-1-jiweisun126@126.com> (raw)

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


             reply	other threads:[~2021-06-09 16:24 UTC|newest]

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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210609155317.2831-1-jiweisun126@126.com \
    --to=jiweisun126@126.com \
    --cc=jiwei.sun.bj@qq.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.