f2fs: fix typos in code comments
authorGeliang Tang <geliangtang@gmail.com>
Fri, 25 Jan 2019 07:35:01 +0000 (15:35 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 16 Feb 2019 04:59:46 +0000 (20:59 -0800)
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>
include/linux/f2fs_fs.h

index d6befe1f9dc7096c77b5cb6544a4e38d6ff2cf5f..8d57aaee8166beac5d007cad7ed1609db004373d 100644 (file)
@@ -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;