mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 17:55:08 +00:00
Reworked Inode to have a dirty bit and subclass-implemented flush_metadata().
This way we can defer disk writes as long as we like. There's no automatic flushing happening just yet.
This commit is contained in:
parent
d506c857ab
commit
1f44cd9dd9
11 changed files with 82 additions and 58 deletions
|
@ -49,8 +49,8 @@ public:
|
|||
void retain();
|
||||
void release();
|
||||
|
||||
FS* fileSystem() { return inode.fs(); }
|
||||
const FS* fileSystem() const { return inode.fs(); }
|
||||
FS* fs() { return inode.fs(); }
|
||||
const FS* fs() const { return inode.fs(); }
|
||||
|
||||
VFS* vfs() { return m_vfs; }
|
||||
const VFS* vfs() const { return m_vfs; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue