Skip to contentSkip to conversation

fs/namespace.c: fix typos in comment

PATCH New [email protected] 1 participant 1 message Jan 30, 2020 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/namespace.c: fix typos in comment

From: chenqiwu <[email protected]>

Fix the typos of correct parameter description.

---
 fs/namespace.c | 7 ++++---
 fs/pnode.c     | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)
fs/namespace.c +4 -3
index 5e1bf61..cb9584f 100644
@@ -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)
  *
fs/pnode.c +1 -1
index 49f6d7f..bc378ec 100644
@@ -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.
  */
Signature · 1 line
1.9.1