summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2013-10-19 23:56:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-10-22 13:02:40 +0200
commit606d6fe3ffdb5190d4c8e4d6cd23aa6c1f9cb6ad (patch)
tree55361b49f6160bcc3bdbff6d11d13bf384fec118 /fs/namei.c
parentMerge tag 'sound-3.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai... (diff)
downloadlinux-606d6fe3ffdb5190d4c8e4d6cd23aa6c1f9cb6ad.tar.xz
linux-606d6fe3ffdb5190d4c8e4d6cd23aa6c1f9cb6ad.zip
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>
Diffstat (limited to '')
-rw-r--r--fs/namei.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 645268f23eb6..caa28051e197 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2294,10 +2294,11 @@ out:
* path_mountpoint - look up a path to be umounted
* @dfd: directory file descriptor to start walk from
* @name: full pathname to walk
+ * @path: pointer to container for result
* @flags: lookup flags
*
* 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
path_mountpoint(int dfd, const char *name, struct path *path, unsigned int flags)