mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
docs: path-lookup: Add macro name to symlink limit description
Add macro name MAXSYMLINKS to the symlink limit description, so that it is consistent with path name length description above. Signed-off-by: Fox Chen <foxhlchen@gmail.com> Reviewed-by: NeilBrown <neilb@suse.de> Link: https://lore.kernel.org/r/20210527091618.287093-7-foxhlchen@gmail.com Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
34ef75ef25
commit
d2d3dd5ecc
1 changed files with 2 additions and 2 deletions
|
@ -992,8 +992,8 @@ is 4096. There are a number of reasons for this limit; not letting the
|
||||||
kernel spend too much time on just one path is one of them. With
|
kernel spend too much time on just one path is one of them. With
|
||||||
symbolic links you can effectively generate much longer paths so some
|
symbolic links you can effectively generate much longer paths so some
|
||||||
sort of limit is needed for the same reason. Linux imposes a limit of
|
sort of limit is needed for the same reason. Linux imposes a limit of
|
||||||
at most 40 symlinks in any one path lookup. It previously imposed a
|
at most 40 (MAXSYMLINKS) symlinks in any one path lookup. It previously imposed
|
||||||
further limit of eight on the maximum depth of recursion, but that was
|
a further limit of eight on the maximum depth of recursion, but that was
|
||||||
raised to 40 when a separate stack was implemented, so there is now
|
raised to 40 when a separate stack was implemented, so there is now
|
||||||
just the one limit.
|
just the one limit.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue