mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
Kernel: Make FS::block_size a size_t
This commit is contained in:
parent
9cbdd5f01e
commit
de4b7d9c21
3 changed files with 5 additions and 5 deletions
|
@ -85,20 +85,20 @@ public:
|
|||
|
||||
virtual void flush_writes() {}
|
||||
|
||||
int block_size() const { return m_block_size; }
|
||||
size_t block_size() const { return m_block_size; }
|
||||
|
||||
virtual bool is_file_backed() const { return false; }
|
||||
|
||||
protected:
|
||||
FS();
|
||||
|
||||
void set_block_size(int);
|
||||
void set_block_size(size_t);
|
||||
|
||||
mutable Lock m_lock { "FS" };
|
||||
|
||||
private:
|
||||
unsigned m_fsid { 0 };
|
||||
int m_block_size { 0 };
|
||||
size_t m_block_size { 0 };
|
||||
bool m_readonly { false };
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue