mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
Kernel/FileSystem: Rename block_size -> logical_block_size
Since this is the block size that file system drivers *should* set, let's name it the logical block size, just like most file systems such as ext2 already do anyways.
This commit is contained in:
parent
d1e6e6110d
commit
c8d7bcede6
Notes:
sideshowbarker
2024-07-17 03:30:41 +09:00
Author: https://github.com/kleinesfilmroellchen
Commit: c8d7bcede6
Pull-request: https://github.com/SerenityOS/serenity/pull/20086
Reviewed-by: https://github.com/gmta ✅
8 changed files with 56 additions and 56 deletions
|
@ -35,7 +35,7 @@ ErrorOr<void> SysFSDiskUsage::try_generate(KBufferBuilder& builder)
|
|||
TRY(fs_object.add("free_inode_count"sv, fs.free_inode_count()));
|
||||
auto mount_point = TRY(mount.absolute_path());
|
||||
TRY(fs_object.add("mount_point"sv, mount_point->view()));
|
||||
TRY(fs_object.add("block_size"sv, static_cast<u64>(fs.block_size())));
|
||||
TRY(fs_object.add("block_size"sv, static_cast<u64>(fs.logical_block_size())));
|
||||
TRY(fs_object.add("readonly"sv, fs.is_readonly()));
|
||||
TRY(fs_object.add("mount_flags"sv, mount.flags()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue