Skip to contentSkip to conversation

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

PATCH New Wang Hai 1 participant 1 message Sep 11, 2020 VFS

lore
Share & tools
lore

Wang Hai

author
#0 lore raw

PATCH 1/1 fs: Fix 'mnt' kernel-doc warning in namespace.c

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.

---
 fs/namespace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/namespace.c +1 -1
index 098f981dce5..9f9a2664dd7 100644
@@ -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
Signature · 1 line
2.17.1