diff mbox series

[-next] fs: Fix 'mnt' kernel-doc warning in namespace.c

Message ID 20200911120702.71509-1-wanghai38@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] fs: Fix 'mnt' kernel-doc warning in namespace.c | expand

Commit Message

Wang Hai Sept. 11, 2020, 12:07 p.m. UTC
Fixes the following W=1 kernel build warning(s):

fs/namespace.c:1358: warning: Excess function parameter 'mnt' description in 'may_umount_tree'

Rename mnt to m.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
 fs/namespace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/fs/namespace.c b/fs/namespace.c
index 098f981dce5..9f9a2664dd7 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1358,7 +1358,7 @@  void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor)
  * may_umount_tree - check if a mount tree is busy
- * @mnt: root of mount tree
+ * @m: root of mount tree
  * This is called to check if a tree of mounts has any
  * open files, pwds, chroots or sub mounts that are