nsfs: repair kernel-doc for ns_match()
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Mon, 7 Nov 2022 11:08:17 +0000 (12:08 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 11 Jan 2023 20:47:40 +0000 (15:47 -0500)
Commit 1e2328e76254 ("fs/nsfs.c: Added ns_match") adds the ns_match()
function with a kernel-doc comment, but the ns parameter was referred to
with ns_common.

Hence, ./scripts/kernel-doc -none fs/nsfs.c warns about it.

Adjust the kernel-doc comment for ns_match() for make W=1 happiness.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/nsfs.c

index c28f69e..f8df60b 100644 (file)
--- a/fs/nsfs.c
+++ b/fs/nsfs.c
@@ -255,7 +255,7 @@ out_invalid:
 
 /**
  * ns_match() - Returns true if current namespace matches dev/ino provided.
- * @ns_common: current ns
+ * @ns: current namespace
  * @dev: dev_t from nsfs that will be matched against current nsfs
  * @ino: ino_t from nsfs that will be matched against current nsfs
  *