summaryrefslogtreecommitdiff
path: root/fs/namespace.c
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 /fs/namespace.c
parent6f672f7b3b9676853c3b074151ff0a156cdd7b07 (diff)
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>
Diffstat (limited to 'fs/namespace.c')
-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.