[PATCH] ext4: Fix typo

Chin Yik Ming posted 1 patch 4 years, 2 months ago
fs/ext4/dir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] ext4: Fix typo
Posted by Chin Yik Ming 4 years, 2 months ago
'functoin' and 'entres' should be 'function' and 'entries' respectively

Signed-off-by: Chin Yik Ming <yikming2222@gmail.com>
---
 fs/ext4/dir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c
index a6bb86f52..52ebc40c8 100644
--- a/fs/ext4/dir.c
+++ b/fs/ext4/dir.c
@@ -412,7 +412,7 @@ struct fname {
 };
 
 /*
- * This functoin implements a non-recursive way of freeing all of the
+ * This function implements a non-recursive way of freeing all of the
  * nodes in the red-black tree.
  */
 static void free_rb_tree_fname(struct rb_root *root)
@@ -515,7 +515,7 @@ int ext4_htree_store_dirent(struct file *dir_file, __u32 hash,
 
 /*
  * This is a helper function for ext4_dx_readdir.  It calls filldir
- * for all entres on the fname linked list.  (Normally there is only
+ * for all entries on the fname linked list.  (Normally there is only
  * one entry on the linked list, unless there are 62 bit hash collisions.)
  */
 static int call_filldir(struct file *file, struct dir_context *ctx,
-- 
2.25.1
Re: [PATCH] ext4: Fix typo
Posted by Theodore Ts'o 4 years, 1 month ago
On Sat, 2 Apr 2022 02:07:44 -0700, Chin Yik Ming wrote:
> 'functoin' and 'entres' should be 'function' and 'entries' respectively
> 
> 

Applied, thanks!

[1/1] ext4: Fix typo
      commit: 5475b2de3333be6f7a6c04f461c9f64446e5e7cd

Best regards,
-- 
Theodore Ts'o <tytso@mit.edu>