mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] [trivial] f2fs: Fix typo in comments
@ 2013-03-18 23:03 Masanari Iida
  2013-03-19  8:27 ` Namjae Jeon
  0 siblings, 1 reply; 2+ messages in thread
From: Masanari Iida @ 2013-03-18 23:03 UTC (permalink / raw)
  To: trivial, linux-kernel, jaegeuk.kim; +Cc: Masanari Iida

Correct spelling typo in comments

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 fs/f2fs/f2fs.h  | 2 +-
 fs/f2fs/gc.c    | 2 +-
 fs/f2fs/super.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index cc2213a..201c8d3 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -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 */
 };
 
 /*
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 94b8a0c..2e3eb2d 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -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.
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index fea6e58..62e0177 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -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;
-- 
1.8.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-19  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-18 23:03 [PATCH] [trivial] f2fs: Fix typo in comments Masanari Iida
2013-03-19  8:27 ` Namjae Jeon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®