projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f672f7
)
fs: add missing @mp parameter documentation
author
Christian Brauner
<brauner@kernel.org>
Mon, 20 Nov 2023 23:15:55 +0000
(
00:15
+0100)
committer
Christian 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/namespace.c
b/fs/namespace.c
index fbf0e596fcd30c9bae8d8cc1fbe09cf309f02334..b899cbbe24d9959c94ba38fca9eb6a4abc28d813 100644
(file)
--- 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.