diff mbox series

fs/namespace.c: Fix typo in comment

Message ID 20240806034710.2807788-1-liyuesong@vivo.com (mailing list archive)
State New
Headers show
Series fs/namespace.c: Fix typo in comment | expand

Commit Message

Yuesong Li Aug. 6, 2024, 3:47 a.m. UTC
replace 'permanetly' with 'permanently' in the comment &
replace 'propogated' with 'propagated' in the comment

Signed-off-by: Yuesong Li <liyuesong@vivo.com>
---
 fs/namespace.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Christian Brauner Aug. 6, 2024, 10:48 a.m. UTC | #1
On Tue, 06 Aug 2024 11:47:10 +0800, Yuesong Li wrote:
> replace 'permanetly' with 'permanently' in the comment &
> replace 'propogated' with 'propagated' in the comment
> 
> 

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/1] fs/namespace.c: Fix typo in comment
      https://git.kernel.org/vfs/vfs/c/2d17506818d0
diff mbox series

Patch

diff --git a/fs/namespace.c b/fs/namespace.c
index e81962bb7d5e..e71e4564987b 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);
 
@@ -5665,7 +5665,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;
 		}