summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@gmail.com>2019-01-25 15:35:01 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2019-02-04 10:50:29 -0800
commit04c71ef5d9f7531e58be5f219950f6527b03580a (patch)
tree59a2b6c064f622b0c79498004a204bec7a889565 /include/linux
parent9eb897a05082d67ca10b977e5cc240bd42df3921 (diff)
f2fs: fix typos in code comments
lengh -> length Signed-off-by: Geliang Tang <geliangtang@gmail.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/f2fs_fs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index fc763eab10b2..6dcde67ba171 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -187,7 +187,7 @@ struct f2fs_orphan_block {
struct f2fs_extent {
__le32 fofs; /* start file offset of the extent */
__le32 blk; /* start block address of the extent */
- __le32 len; /* lengh of the extent */
+ __le32 len; /* length of the extent */
} __packed;
#define F2FS_NAME_LEN 255
@@ -512,7 +512,7 @@ typedef __le32 f2fs_hash_t;
struct f2fs_dir_entry {
__le32 hash_code; /* hash code of file name */
__le32 ino; /* inode number */
- __le16 name_len; /* lengh of file name */
+ __le16 name_len; /* length of file name */
__u8 file_type; /* file type */
} __packed;