https://github.com/torvalds/linux
Revision 13694f0dbc077f28fcb613e7e37018d87997abb9 authored by Linus Torvalds on 17 June 2024, 16:05:52 UTC, committed by Linus Torvalds on 07 July 2024, 17:27:27 UTC
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>
1 parent 58b0afa
History
Tip revision: 13694f0dbc077f28fcb613e7e37018d87997abb9 authored by Linus Torvalds on 17 June 2024, 16:05:52 UTC
vfs: link_path_walk: move more of the name hashing into hash_name()
Tip revision: 13694f0
File Mode Size
.gitignore -rw-r--r-- 92 bytes
Build -rw-r--r-- 170 bytes
Makefile -rw-r--r-- 2.1 KB
iio_event_monitor.c -rw-r--r-- 11.0 KB
iio_generic_buffer.c -rw-r--r-- 18.6 KB
iio_utils.c -rw-r--r-- 21.3 KB
iio_utils.h -rw-r--r-- 2.6 KB
lsiio.c -rw-r--r-- 3.7 KB

back to top