]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fs: add missing @mp parameter documentation
authorChristian Brauner <brauner@kernel.org>
Mon, 20 Nov 2023 23:15:55 +0000 (00:15 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 20 Nov 2023 23:15:55 +0000 (00:15 +0100)
Fix the W=1 build warning:

../fs/namespace.c:3050: warning: Function parameter or member 'mp' not described in 'can_move_mount_beneath'

Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namespace.c

index fbf0e596fcd30c9bae8d8cc1fbe09cf309f02334..b899cbbe24d9959c94ba38fca9eb6a4abc28d813 100644 (file)
@@ -3026,6 +3026,7 @@ static inline bool path_overmounted(const struct path *path)
  * can_move_mount_beneath - check that we can mount beneath the top mount
  * @from: mount to mount beneath
  * @to:   mount under which to mount
+ * @mp:   mountpoint of @to
  *
  * - Make sure that @to->dentry is actually the root of a mount under
  *   which we can mount another mount.