Kernel+LibC: Implement fsync

This commit is contained in:
TheFightingCatfish 2021-09-11 23:28:59 -04:00 committed by Andreas Kling
commit a81b21c1a7
Notes: sideshowbarker 2024-07-18 04:12:18 +09:00
13 changed files with 51 additions and 6 deletions

View file

@ -87,7 +87,8 @@ public:
void set_shared_vmobject(Memory::SharedInodeVMObject&);
RefPtr<Memory::SharedInodeVMObject> shared_vmobject() const;
static void sync();
static void sync_all();
void sync();
bool has_watchers() const { return !m_watchers.is_empty(); }