Commit 606d6fe3ffdb5190d4c8e4d6cd23aa6c1f9cb6ad
Committed by
Linus Torvalds
1 parent
93cd00043f
Exists in
master
and in
20 other branches
fs/namei.c: fix new kernel-doc warning
Add @path parameter to fix kernel-doc warning. Also fix a spello/typo. Warning(fs/namei.c:2304): No description found for parameter 'path' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
fs/namei.c
... | ... | @@ -2294,10 +2294,11 @@ |
2294 | 2294 | * path_mountpoint - look up a path to be umounted |
2295 | 2295 | * @dfd: directory file descriptor to start walk from |
2296 | 2296 | * @name: full pathname to walk |
2297 | + * @path: pointer to container for result | |
2297 | 2298 | * @flags: lookup flags |
2298 | 2299 | * |
2299 | 2300 | * Look up the given name, but don't attempt to revalidate the last component. |
2300 | - * Returns 0 and "path" will be valid on success; Retuns error otherwise. | |
2301 | + * Returns 0 and "path" will be valid on success; Returns error otherwise. | |
2301 | 2302 | */ |
2302 | 2303 | static int |
2303 | 2304 | path_mountpoint(int dfd, const char *name, struct path *path, unsigned int flags) |