summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2023-11-21 00:15:55 +0100
committerChristian Brauner <brauner@kernel.org>2023-11-21 00:15:55 +0100
commitd7802b734fe33e781437151033032d28291b809b (patch)
tree935a433096eb582b58acbe85f7b517a36fa898db
parentfs: namei: Fix spelling mistake "Retuns" to "Returns" (diff)
downloadlinux-d7802b734fe33e781437151033032d28291b809b.tar.xz
linux-d7802b734fe33e781437151033032d28291b809b.zip
fs: add missing @mp parameter documentation
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>
-rw-r--r--fs/namespace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index fbf0e596fcd3..b899cbbe24d9 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -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.