* [PATCH] fs/namespace.c: fix typos in comment
@ 2020-01-30 14:25 qiwuchen55
0 siblings, 0 replies; only message in thread
From: qiwuchen55 @ 2020-01-30 14:25 UTC (permalink / raw)
To: viro; +Cc: linux-fsdevel, linux-kernel, chenqiwu
From: chenqiwu <chenqiwu@xiaomi.com>
Fix the typos of correct parameter description.
Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
---
fs/namespace.c | 7 ++++---
fs/pnode.c | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/fs/namespace.c b/fs/namespace.c
index 5e1bf61..cb9584f 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1975,9 +1975,10 @@ int count_mounts(struct mnt_namespace *ns, struct mount *mnt)
}
/*
- * @source_mnt : mount tree to be attached
- * @nd : place the mount tree @source_mnt is attached
- * @parent_nd : if non-null, detach the source_mnt from its parent and
+ * @source_mnt : source mount.
+ * @dest_mnt : destination mount.
+ * @dest_mp : destination mountpoint.
+ * @moving : if true, attach source_mnt to dest_mnt and
* store the parent mount and mountpoint dentry.
* (done when source_mnt is moved)
*
diff --git a/fs/pnode.c b/fs/pnode.c
index 49f6d7f..bc378ec 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -282,7 +282,7 @@ static int propagate_one(struct mount *m)
* headed at source_mnt's ->mnt_list
*
* @dest_mnt: destination mount.
- * @dest_dentry: destination dentry.
+ * @dest_mp: destination mountpoint.
* @source_mnt: source mount.
* @tree_list : list of heads of trees to be attached.
*/
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-30 14:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 14:25 [PATCH] fs/namespace.c: fix typos in comment qiwuchen55
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).