summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChin Yik Ming <yikming2222@gmail.com>2022-04-02 02:07:44 -0700
committerTheodore Ts'o <tytso@mit.edu>2022-05-11 15:19:06 -0400
commitfac88735278b4508ab8de505530be8413fd32fc2 (patch)
tree39e666fb7a3ad35eaba3be8f5e450f47af0dc4d5
parentc30365b90ab26fa991751119cde047312d370cab (diff)
downloadlinux-stable-fac88735278b4508ab8de505530be8413fd32fc2.tar.gz
linux-stable-fac88735278b4508ab8de505530be8413fd32fc2.tar.bz2
linux-stable-fac88735278b4508ab8de505530be8413fd32fc2.zip
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>
-rw-r--r--fs/ext4/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c
index fc982d2dc071..3985f8c33f95 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,