Skip to content

Commit 34ef75e

Browse files
foxhlchenJonathan Corbet
authored andcommitted
docs: path-lookup: remove filename_mountpoint
No filename_mountpoint any more see commit: commit 161aff1 ("LOOKUP_MOUNTPOINT: fold path_mountpointat() into path_lookupat()") Without filename_mountpoint and path_mountpoint(), the numbers should be four & three: "These four correspond roughly to the three path_*() functions" Signed-off-by: Fox Chen <foxhlchen@gmail.com> Reviewed-by: NeilBrown <neilb@suse.de> Link: https://lore.kernel.org/r/20210527091618.287093-6-foxhlchen@gmail.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 71e0a67 commit 34ef75e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Documentation/filesystems/path-lookup.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -652,9 +652,9 @@ restarts from the top with REF-walk.
652652

653653
This pattern of "try RCU-walk, if that fails try REF-walk" can be
654654
clearly seen in functions like ``filename_lookup()``,
655-
``filename_parentat()``, ``filename_mountpoint()``,
656-
``do_filp_open()``, and ``do_file_open_root()``. These five
657-
correspond roughly to the four ``path_*()`` functions we met earlier,
655+
``filename_parentat()``,
656+
``do_filp_open()``, and ``do_file_open_root()``. These four
657+
correspond roughly to the three ``path_*()`` functions we met earlier,
658658
each of which calls ``link_path_walk()``. The ``path_*()`` functions are
659659
called using different mode flags until a mode is found which works.
660660
They are first called with ``LOOKUP_RCU`` set to request "RCU-walk". If

0 commit comments

Comments
 (0)