1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:57:45 +00:00

Ext2FS: Factor out block list generation and writing into functions.

This commit is contained in:
Andreas Kling 2019-01-23 02:45:25 +01:00
parent 6fb4033709
commit 29dfb4ae13
3 changed files with 89 additions and 6 deletions

View file

@ -43,7 +43,7 @@ public:
m_buffer[m_offset++] = value[i];
}
void fillToEnd(byte ch)
void fill_to_end(byte ch)
{
while (m_offset < m_buffer.size())
m_buffer[m_offset++] = ch;