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>
This commit is contained in:
Randy Dunlap 2013-10-19 14:56:55 -07:00 committed by Linus Torvalds
parent 93cd00043f
commit 606d6fe3ff
1 changed files with 2 additions and 1 deletions

View File

@ -2294,10 +2294,11 @@ out:
* path_mountpoint - look up a path to be umounted * path_mountpoint - look up a path to be umounted
* @dfd: directory file descriptor to start walk from * @dfd: directory file descriptor to start walk from
* @name: full pathname to walk * @name: full pathname to walk
* @path: pointer to container for result
* @flags: lookup flags * @flags: lookup flags
* *
* Look up the given name, but don't attempt to revalidate the last component. * Look up the given name, but don't attempt to revalidate the last component.
* Returns 0 and "path" will be valid on success; Retuns error otherwise. * Returns 0 and "path" will be valid on success; Returns error otherwise.
*/ */
static int static int
path_mountpoint(int dfd, const char *name, struct path *path, unsigned int flags) path_mountpoint(int dfd, const char *name, struct path *path, unsigned int flags)