mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 01:23:56 +02:00
fs: document 'name' parameter for name_contains_dotdot()
The kernel-doc for name_contains_dotdot() was missing the @name parameter description, leading to a warning during make htmldocs. Add the missing documentation to resolve this warning. Signed-off-by: Kriish Sharma <kriish.sharma2006@gmail.com> Link: https://lore.kernel.org/20250730201853.8436-1-kriish.sharma2006@gmail.com Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
17e8b7e08f
commit
4e02192081
|
|
@ -3281,7 +3281,7 @@ static inline bool is_dot_dotdot(const char *name, size_t len)
|
|||
|
||||
/**
|
||||
* name_contains_dotdot - check if a file name contains ".." path components
|
||||
*
|
||||
* @name: File path string to check
|
||||
* Search for ".." surrounded by either '/' or start/end of string.
|
||||
*/
|
||||
static inline bool name_contains_dotdot(const char *name)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user