diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-20 09:18:26 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-20 09:18:26 +0200 |
| commit | 42e64fda5e096b70496f6f7593fb07c1c87a7d34 (patch) | |
| tree | 1d9b7c0d586d09c0d1b78c43e114901512cd931f /dev/kernel/FSKit/HeFS.h | |
| parent | 8ca2cdbdc65e167297e7c418db4f7abe13342948 (diff) | |
fs, kernel(HeFS): Implement `hefs_get_index_node` for tree traversal.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/FSKit/HeFS.h')
| -rw-r--r-- | dev/kernel/FSKit/HeFS.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dev/kernel/FSKit/HeFS.h b/dev/kernel/FSKit/HeFS.h index 41ae615a..b1a0d1d6 100644 --- a/dev/kernel/FSKit/HeFS.h +++ b/dev/kernel/FSKit/HeFS.h @@ -327,15 +327,10 @@ namespace Kernel::Detail }
}
- inline Lba hefs_get_block_size(Lba block_size) noexcept
+ inline SizeT hefs_get_block_size(SizeT block_size) noexcept
{
return block_size * kHeFSBlockCount;
}
-
- inline Lba hefs_get_block_count(Lba block_size, Lba block_count) noexcept
- {
- return block_size / block_count;
- }
} // namespace Kernel::Detail
namespace Kernel
|
