Skip to content

Commit fac8873

Browse files
ChinYikMingtytso
authored andcommitted
ext4: fix spelling errors in comments
'functoin' and 'entres' should be 'function' and 'entries' respectively Signed-off-by: Chin Yik Ming <yikming2222@gmail.com> Link: https://lore.kernel.org/r/20220402090744.8918-1-yikming2222@gmail.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent c30365b commit fac8873

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/ext4/dir.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ struct fname {
412412
};
413413

414414
/*
415-
* This functoin implements a non-recursive way of freeing all of the
415+
* This function implements a non-recursive way of freeing all of the
416416
* nodes in the red-black tree.
417417
*/
418418
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,
515515

516516
/*
517517
* This is a helper function for ext4_dx_readdir. It calls filldir
518-
* for all entres on the fname linked list. (Normally there is only
518+
* for all entries on the fname linked list. (Normally there is only
519519
* one entry on the linked list, unless there are 62 bit hash collisions.)
520520
*/
521521
static int call_filldir(struct file *file, struct dir_context *ctx,

0 commit comments

Comments
 (0)