fs/namespace.c: fix typos in comment
PATCH v2 1/2 fs/namespace.c: fix typos in comment
From: chenqiwu <[email protected]>
Fix the typos of correct parameter description.
[v2: Randy] Change one function comment's "dest_dentry" to "dest_mp".
Signed-off-by chenqiwu <[email protected]>
Signed-off-by Randy Dunlap <[email protected]>
Cc Al Viro <[email protected]>
--- fs/namespace.c | 7 ++++--- fs/pnode.c | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-)
fs/namespace.c +4 -3
@@ -2238,9 +2238,10 @@ int count_mounts(struct mnt_namespace *n }/* -* @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 +2 -2
@@ -274,14 +274,14 @@ static int propagate_one(struct mount *m/* * mount 'source_mnt' under the destination 'dest_mnt' at -* dentry 'dest_dentry'. And propagate that mount to +* dentry 'dest_mp'. And propagate that mount to * all the peer and slave mounts of 'dest_mnt'. * Link all the new mounts into a propagation tree headed at * source_mnt. Also link all the new mounts using ->mnt_list * 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. */