mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Kernel: Promote various integers to 64 bits in storage layer
This commit is contained in:
parent
f3a3a63b68
commit
fdb5367da1
8 changed files with 29 additions and 45 deletions
|
@ -60,7 +60,7 @@ public:
|
|||
|
||||
virtual void flush_writes() { }
|
||||
|
||||
size_t block_size() const { return m_block_size; }
|
||||
u64 block_size() const { return m_block_size; }
|
||||
size_t fragment_size() const { return m_fragment_size; }
|
||||
|
||||
virtual bool is_file_backed() const { return false; }
|
||||
|
@ -71,14 +71,14 @@ public:
|
|||
protected:
|
||||
FS();
|
||||
|
||||
void set_block_size(size_t);
|
||||
void set_fragment_size(size_t);
|
||||
void set_block_size(u64 size) { m_block_size = size; }
|
||||
void set_fragment_size(size_t size) { m_fragment_size = size; }
|
||||
|
||||
mutable Lock m_lock { "FS" };
|
||||
|
||||
private:
|
||||
unsigned m_fsid { 0 };
|
||||
size_t m_block_size { 0 };
|
||||
u64 m_block_size { 0 };
|
||||
size_t m_fragment_size { 0 };
|
||||
bool m_readonly { false };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue