1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-22 17:15:08 +00:00

Kernel: Promote various integers to 64 bits in storage layer

This commit is contained in:
Jean-Baptiste Boric 2021-07-05 21:38:17 +02:00 committed by Andreas Kling
parent f3a3a63b68
commit fdb5367da1
8 changed files with 29 additions and 45 deletions

View file

@ -74,20 +74,4 @@ void FS::lock_all()
}
}
void FS::set_block_size(size_t block_size)
{
VERIFY(block_size > 0);
if (block_size == m_block_size)
return;
m_block_size = block_size;
}
void FS::set_fragment_size(size_t fragment_size)
{
VERIFY(fragment_size > 0);
if (fragment_size == m_fragment_size)
return;
m_fragment_size = fragment_size;
}
}