Skip to contentSkip to conversation

namei: correct obsolete function name in the comment of follow_automount()

PATCH New Jiwei Sun 1 participant 1 message Jun 9, 2021 VFS

lore
Share & tools
lore

Jiwei Sun

author
#0 lore raw

PATCH 1/1 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.

---
 fs/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/namei.c +1 -1
index 216f16e74351..e362c274eac6 100644
@@ -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)
Signature · 1 line
2.25.1