]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fs/namespace.c: Fix typo in comment
authorYuesong Li <liyuesong@vivo.com>
Tue, 6 Aug 2024 03:47:10 +0000 (11:47 +0800)
committerChristian Brauner <brauner@kernel.org>
Fri, 30 Aug 2024 06:22:33 +0000 (08:22 +0200)
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>
fs/namespace.c

index 155c6abda71da6f5deefc5555aeea7a3b9a69f8e..5f2dddee0074587b417789877a017c11aaf70a9a 100644 (file)
@@ -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;
                }