Skip to content

Commit

Permalink
nsfs: repair kernel-doc for ns_match()
Browse files Browse the repository at this point in the history
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 <lukas.bulwahn@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Lukas Bulwahn authored and Al Viro committed Jan 11, 2023
1 parent 1cb925c commit 39ecb65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ struct file *proc_ns_fget(int fd)

/**
* 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
*
Expand Down

0 comments on commit 39ecb65

Please sign in to comment.