summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValdis Klētnieks <valdis.kletnieks@vt.edu>2019-08-07 19:22:34 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2019-08-07 21:51:47 -0400
commita92c7ba982e3950a82fd63b3fd289248bd99e8f4 (patch)
treef56cc454d39500545f4000bec103e3d979979364
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff)
downloadlinux-a92c7ba982e3950a82fd63b3fd289248bd99e8f4.tar.bz2
fs/handle.c - fix up kerneldoc
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>
-rw-r--r--fs/fhandle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fhandle.c b/fs/fhandle.c
index 0ee727485615..01263ffbc4c0 100644
--- a/fs/fhandle.c
+++ b/fs/fhandle.c
@@ -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