summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2013-03-19 08:03:35 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-03-20 18:30:16 +0900
commit111d2495a8a8fbd8e3bb0f1c1c60f977b1386249 (patch)
tree6d6615bedc82f9d5bad631ba643017d7702c9441 /fs/f2fs
parent064e0823285a41f5ccb92f26a661df5f44cac3eb (diff)
downloadtalos-op-linux-111d2495a8a8fbd8e3bb0f1c1c60f977b1386249.tar.gz
talos-op-linux-111d2495a8a8fbd8e3bb0f1c1c60f977b1386249.zip
f2fs: fix typo in comments
Correct spelling typo in comments Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/f2fs.h2
-rw-r--r--fs/f2fs/gc.c2
-rw-r--r--fs/f2fs/super.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 06ff6a51c700..5bb87e0216f5 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -141,7 +141,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 94b8a0c48453..2e3eb2d4fc30 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 1db5ebe6692e..c9ef88da0723 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -83,7 +83,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;
OpenPOWER on IntegriCloud