fs: document 'name' parameter in name_contains_dotdot()
Subsystems (2)
PATCH 1/1 fs: document 'name' parameter in name_contains_dotdot()
Adds a brief description of the 'name' parameter to resolve the kernel-doc warning.
Signed-off-by Shrikant Raskar <[email protected]>
--- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/fs.h +1 -1
@@ -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 name or path string to check * Search for ".." surrounded by either '/' or start/end of string. */ static inline bool name_contains_dotdot (const char *name)
Signature · 1 line
2.43.0
Al Viro
maintainerQuoted 2 lines · Shrikant Raskar
Adds a brief description of the 'name' parameter to resolve the kernel-doc warning.