mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
Kernel: Expose FileSystem's fragment size
This commit will add a fragment_size() function similar to the block_size() function.
This commit is contained in:
@@ -114,6 +114,7 @@ bool Ext2FS::initialize()
|
||||
}
|
||||
|
||||
set_block_size(EXT2_BLOCK_SIZE(&super_block));
|
||||
set_fragment_size(EXT2_FRAG_SIZE(&super_block));
|
||||
|
||||
VERIFY(block_size() <= (int)max_block_size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user