summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuesong Li <liyuesong@vivo.com>2024-08-06 11:47:10 +0800
committerChristian Brauner <brauner@kernel.org>2024-08-30 08:22:33 +0200
commitc5ae8e5e5a34963513bf973e77dd15da7333054e (patch)
tree50ab43af62c9cda970a022bd9b89646eff08b0a4
parent0d196e7589cefe207d5d41f37a0a28a1fdeeb7c6 (diff)
downloadlwn-c5ae8e5e5a34963513bf973e77dd15da7333054e.tar.gz
lwn-c5ae8e5e5a34963513bf973e77dd15da7333054e.zip
fs/namespace.c: Fix typo in comment
replace 'permanetly' with 'permanently' in the comment & replace 'propogated' with 'propagated' in the comment Signed-off-by: Yuesong Li <liyuesong@vivo.com> Link: https://lore.kernel.org/r/20240806034710.2807788-1-liyuesong@vivo.com Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r--fs/namespace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 155c6abda71d..5f2dddee0074 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1774,7 +1774,7 @@ static void umount_tree(struct mount *mnt, enum umount_tree_flags how)
list_del_init(&p->mnt_child);
}
- /* Add propogated mounts to the tmp_list */
+ /* Add propagated mounts to the tmp_list */
if (how & UMOUNT_PROPAGATE)
propagate_umount(&tmp_list);
@@ -5613,7 +5613,7 @@ static bool mnt_already_visible(struct mnt_namespace *ns,
/* Only worry about locked mounts */
if (!(child->mnt.mnt_flags & MNT_LOCKED))
continue;
- /* Is the directory permanetly empty? */
+ /* Is the directory permanently empty? */
if (!is_empty_dir_inode(inode))
goto next;
}