commit | 13694f0dbc077f28fcb613e7e37018d87997abb9 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jun 17 09:05:52 2024 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Jul 07 10:27:27 2024 -0700 |
tree | 03a26e7e5a8e82b2ee3cfbd16f182249fea9e025 | |
parent | 58b0afa038bb404ff82b358b68db5ffa8f53c404 [diff] |
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>