1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 21:28:11 +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

@ -16,7 +16,7 @@ public:
virtual ~BlockBasedFS() override;
size_t logical_block_size() const { return m_logical_block_size; };
u64 logical_block_size() const { return m_logical_block_size; };
virtual void flush_writes() override;
void flush_writes_impl();
@ -36,7 +36,7 @@ protected:
KResult write_block(BlockIndex, const UserOrKernelBuffer&, size_t count, size_t offset = 0, bool allow_cache = true);
KResult write_blocks(BlockIndex, unsigned count, const UserOrKernelBuffer&, bool allow_cache = true);
size_t m_logical_block_size { 512 };
u64 m_logical_block_size { 512 };
private:
DiskCache& cache() const;