mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
vfs: link_path_walk: move more of the name hashing into hash_name()
This avoids having to return the length of the component entirely by just doing all of the name processing in hash_name(). We can just return the end of the path component, and a flag for the DOT and DOTDOT cases. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
58b0afa038
commit
13694f0dbc
1 changed files with 32 additions and 19 deletions
51
fs/namei.c
51
fs/namei.c
Loading…
Add table
Add a link
Reference in a new issue