summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/extent_cache.c
diff options
context:
space:
mode:
authorJinyoung CHOI <j-young.choi@samsung.com>2023-02-06 20:56:00 +0900
committerJaegeuk Kim <jaegeuk@kernel.org>2023-02-07 10:39:28 -0800
commit146949defda868378992171b9e42318b06fcd482 (patch)
tree8603dd2e8ce0aa60d083e6f454331c1b5b6985c1 /fs/f2fs/extent_cache.c
parent267c159f9c7bcb7009dae16889b880c5ed8759a8 (diff)
downloadlinux-146949defda868378992171b9e42318b06fcd482.tar.gz
linux-146949defda868378992171b9e42318b06fcd482.tar.bz2
linux-146949defda868378992171b9e42318b06fcd482.zip
f2fs: fix typos in comments
This patch is to fix typos in f2fs files. Signed-off-by: Jinyoung Choi <j-young.choi@samsung.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/extent_cache.c')
-rw-r--r--fs/f2fs/extent_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c
index aef308e871ab..8d922c592dae 100644
--- a/fs/f2fs/extent_cache.c
+++ b/fs/f2fs/extent_cache.c
@@ -233,7 +233,7 @@ struct rb_node **f2fs_lookup_rb_tree_for_insert(struct f2fs_sb_info *sbi,
* @prev_ex: extent before ofs
* @next_ex: extent after ofs
* @insert_p: insert point for new extent at ofs
- * in order to simpfy the insertion after.
+ * in order to simplify the insertion after.
* tree must stay unchanged between lookup and insertion.
*/
struct rb_entry *f2fs_lookup_rb_tree_ret(struct rb_root_cached *root,
@@ -718,7 +718,7 @@ static void __update_extent_tree_range(struct inode *inode,
if (!en)
en = next_en;
- /* 2. invlidate all extent nodes in range [fofs, fofs + len - 1] */
+ /* 2. invalidate all extent nodes in range [fofs, fofs + len - 1] */
while (en && en->ei.fofs < end) {
unsigned int org_end;
int parts = 0; /* # of parts current extent split into */