]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vfs: fix docstring of hash_name()
authorJori Koolstra <jkoolstra@xs4all.nl>
Wed, 18 Mar 2026 20:39:52 +0000 (21:39 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 19 Mar 2026 10:18:01 +0000 (11:18 +0100)
commit8fb6857f2f5e35179ff35e7d25358b9add681b7e
tree1daae3842ef98450a5ffee6639bfdda5f34ac795
parentbd71fb3fea9945987053968f028a948997cba8cc
vfs: fix docstring of hash_name()

The docstring of hash_name() is falsely reporting that it returns the
component length, whereas it returns a pointer to the terminating '/'
or NUL character in the pathname being resolved.

Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Link: https://patch.msgid.link/20260318203953.5770-1-jkoolstra@xs4all.nl
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namei.c