Skip to content

Commit 39ecb65

Browse files
bulwahnAl Viro
authored andcommitted
nsfs: repair kernel-doc for ns_match()
Commit 1e2328e ("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 <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent 1cb925c commit 39ecb65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nsfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ struct file *proc_ns_fget(int fd)
255255

256256
/**
257257
* ns_match() - Returns true if current namespace matches dev/ino provided.
258-
* @ns_common: current ns
258+
* @ns: current namespace
259259
* @dev: dev_t from nsfs that will be matched against current nsfs
260260
* @ino: ino_t from nsfs that will be matched against current nsfs
261261
*

0 commit comments

Comments
 (0)