fs/handle.c - fix up kerneldoc
authorValdis Klētnieks <valdis.kletnieks@vt.edu>
Wed, 7 Aug 2019 23:22:34 +0000 (19:22 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 8 Aug 2019 01:51:47 +0000 (21:51 -0400)
When building with W=1, we get some kerneldoc warnings:

  CC      fs/fhandle.o
fs/fhandle.c:259: warning: Function parameter or member 'flags' not described in 'sys_open_by_handle_at'
fs/fhandle.c:259: warning: Excess function parameter 'flag' description in 'sys_open_by_handle_at'

Fix the typo that caused it.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fhandle.c

index 0ee7274..01263ff 100644 (file)
@@ -246,7 +246,7 @@ static long do_handle_open(int mountdirfd, struct file_handle __user *ufh,
  * sys_open_by_handle_at: Open the file handle
  * @mountdirfd: directory file descriptor
  * @handle: file handle to be opened
- * @flag: open flags.
+ * @flags: open flags.
  *
  * @mountdirfd indicate the directory file descriptor
  * of the mount point. file handle is decoded relative