diff options
author | mjz19910 <matthias291999@gmail.com> | 2022-01-07 05:04:05 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-07 15:44:42 +0100 |
commit | 10ec98dd3852369834b6367da5615ec2a21846a3 (patch) | |
tree | abbff764b730536f3595cae937f7b8ca86b44e2e /Kernel/FileSystem | |
parent | 168063819d009b34d43286c0367129592809a79d (diff) | |
download | serenity-10ec98dd3852369834b6367da5615ec2a21846a3.zip |
Everywhere: Fix spelling mistakes
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/TmpFS.cpp | 2 | ||||
-rw-r--r-- | Kernel/FileSystem/ext2_fs.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/FileSystem/TmpFS.cpp b/Kernel/FileSystem/TmpFS.cpp index 93a1fbeb26..440e63cd4c 100644 --- a/Kernel/FileSystem/TmpFS.cpp +++ b/Kernel/FileSystem/TmpFS.cpp @@ -162,7 +162,7 @@ ErrorOr<size_t> TmpFSInode::write_bytes(off_t offset, size_t size, const UserOrK if (m_content && static_cast<off_t>(m_content->capacity()) >= new_size) { m_content->set_size(new_size); } else { - // Grow the content buffer 2x the new sizeto accommodate repeating write() calls. + // Grow the content buffer 2x the new size to accommodate repeating write() calls. // Note that we're not actually committing physical memory to the buffer // until it's needed. We only grow VM here. diff --git a/Kernel/FileSystem/ext2_fs.h b/Kernel/FileSystem/ext2_fs.h index 2214b37f43..7f4194dcf5 100644 --- a/Kernel/FileSystem/ext2_fs.h +++ b/Kernel/FileSystem/ext2_fs.h @@ -138,7 +138,7 @@ struct ext2_group_desc { __u16 bg_flags; __u32 bg_reserved[2]; __u16 bg_itable_unused; /* Unused inodes count */ - __u16 bg_checksum; /* crc16(s_uuid+grouo_num+group_desc)*/ + __u16 bg_checksum; /* crc16(s_uuid+group_num+group_desc)*/ }; struct ext4_group_desc { @@ -151,7 +151,7 @@ struct ext4_group_desc { __u16 bg_flags; __u32 bg_reserved[2]; __u16 bg_itable_unused; /* Unused inodes count */ - __u16 bg_checksum; /* crc16(s_uuid+grouo_num+group_desc)*/ + __u16 bg_checksum; /* crc16(s_uuid+group_num+group_desc)*/ __u32 bg_block_bitmap_hi; /* Blocks bitmap block MSB */ __u32 bg_inode_bitmap_hi; /* Inodes bitmap block MSB */ __u32 bg_inode_table_hi; /* Inodes table block MSB */ |