f2fs: Fix typo in comments
PATCH 1/1 f2fs: Fix typo in comments
Correct spelling typo in comments
Signed-off-by Masanari Iida <[email protected]>
--- fs/f2fs/f2fs.h | 2 +- fs/f2fs/gc.c | 2 +- fs/f2fs/super.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
fs/f2fs/f2fs.h +1 -1
@@ -137,7 +137,7 @@ struct extent_info {rwlock_t ext_lock;/* rwlock for consistency */ unsigned int fofs;/* start offset in a file */ u32 blk_addr;/* start block address of the extent */ -unsigned int len;/* lenth of the extent */ +unsigned int len;/* length of the extent */ };/*
fs/f2fs/gc.c +1 -1
@@ -222,7 +222,7 @@ static unsigned int get_gc_cost(struct f2fs_sb_info *sbi, unsigned int segno, }/* -* This function is called from two pathes. +* This function is called from two paths. * One is garbage collection and the other is SSR segment selection. * When it is called during GC, it just gets a victim segment * and it does not remove it from dirty seglist.
fs/f2fs/super.c +1 -1
@@ -82,7 +82,7 @@ static struct inode *f2fs_alloc_inode(struct super_block *sb)init_once ((void *) fi); -/* Initilize f2fs-specific inode info */ +/* Initialize f2fs-specific inode info */ fi->vfs_inode.i_version =1 ;atomic_set (&fi->dirty_dents,0 ); fi->i_current_depth =1 ;
Signature · 1 line
1.8.2
2013/3/19, Masanari Iida <[email protected]>:
Quoted 3 lines
Correct spelling typo in comments
Signed-off-by Masanari Iida <[email protected]>
Acked-by Namjae Jeon <[email protected]>
Thanks.